Class ImmutableUnsignedLongSet
java.lang.Object
org.opendaylight.controller.cluster.raft.spi.UnsignedLongSet
org.opendaylight.controller.cluster.raft.spi.ImmutableUnsignedLongSet
- All Implemented Interfaces:
Immutable,WritableObject
public final class ImmutableUnsignedLongSet
extends UnsignedLongSet
implements Immutable, WritableObject
An immutable
UnsignedLongSet.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.controller.cluster.raft.spi.UnsignedLongSet
UnsignedLongSet.Entry -
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable copy of this set.static @NonNull ImmutableUnsignedLongSetof()Return an emptyImmutableUnsignedLongSet.static @NonNull ImmutableUnsignedLongSetstatic @NonNull ImmutableUnsignedLongSetvoidwriteRangesTo(@NonNull DataOutput out, int size) voidwriteTo(DataOutput out) Methods inherited from class org.opendaylight.controller.cluster.raft.spi.UnsignedLongSet
contains, equals, hashCode, isEmpty, mutableCopy, ranges, rangeSize, toString
-
Method Details
-
of
Return an emptyImmutableUnsignedLongSet.- Returns:
- an empty
ImmutableUnsignedLongSet
-
immutableCopy
Description copied from class:UnsignedLongSetReturns an immutable copy of this set.- Specified by:
immutableCopyin classUnsignedLongSet- Returns:
- an immutable copy of this set
-
readFrom
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWritableObject- Throws:
IOException
-
writeRangesTo
- Throws:
IOException
-