Add MutableUnsignedLongSet.addAll() 72/98372/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Nov 2021 10:23:05 +0000 (11:23 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Nov 2021 10:29:13 +0000 (11:29 +0100)
commit824dce54df4b23120461e112574d2ff2effafcf6
tree498d425b6e7576639f87d39524243a1ab9c6eb77
parent3402cfce32b05957219e54754dd7ca5b0a54cd0e
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>
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