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 TypeMethodDescriptionvoidadd(long longBits) voidaddAll(UnsignedLongSet other) Returns an immutable copy of this set.static @NonNull MutableUnsignedLongSetof()static @NonNull MutableUnsignedLongSetof(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:UnsignedLongSetReturns an immutable copy of this set.- Specified by:
immutableCopyin classUnsignedLongSet- Returns:
- an immutable copy of this set
-
add
public void add(long longBits) -
addAll
-
toRangeSet
-