Class MutableUnsignedLongSet
java.lang.Object
org.opendaylight.controller.cluster.raft.spi.UnsignedLongSet
org.opendaylight.controller.cluster.raft.spi.MutableUnsignedLongSet
- All Implemented Interfaces:
Mutable
A mutable
UnsignedLongSet
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.controller.cluster.raft.spi.UnsignedLongSet
UnsignedLongSet.Entry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long longBits) void
addAll
(UnsignedLongSet other) Returns an immutable copy of this set.static @NonNull MutableUnsignedLongSet
of()
static @NonNull MutableUnsignedLongSet
of
(long... ulongs) Methods inherited from class org.opendaylight.controller.cluster.raft.spi.UnsignedLongSet
contains, equals, hashCode, isEmpty, mutableCopy, ranges, rangeSize, toString
-
Method Details
-
of
-
of
-
immutableCopy
Description copied from class:UnsignedLongSet
Returns an immutable copy of this set.- Specified by:
immutableCopy
in classUnsignedLongSet
- Returns:
- an immutable copy of this set
-
add
public void add(long longBits) -
addAll
-
toRangeSet
-