Add MutableUnsignedLongSet.addAll() 17/98417/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Nov 2021 10:23:05 +0000 (11:23 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 11 Nov 2021 08:29:58 +0000 (09:29 +0100)
commitecf8efe116f290c84a266ab26aa0a00a7cbc93c8
treeddba33a96dcb7d7fdf1d13e4da84c527541637ac
parent840006cda425b81bd15dc98cc560ca900f986936
Add MutableUnsignedLongSet.addAll()

Add the ability to merge two UnsignedLongSets. This is useful when
we are using ImmutableUnsignedLongSet as a data interchange format
to communicate changes to a MutableUnsignedLongSet.

JIRA: CONTROLLER-2015
Change-Id: Ia84474b685872586722914f20db8f96a3c172f97
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 824dce54df4b23120461e112574d2ff2effafcf6)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/MutableUnsignedLongSet.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/persisted/FrontendShardDataTreeSnapshotMetadataTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/UnsignedLongSetTest.java