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 ImmutableUnsignedLongSet
of()
Return an emptyImmutableUnsignedLongSet
.static @NonNull ImmutableUnsignedLongSet
static @NonNull ImmutableUnsignedLongSet
void
writeRangesTo
(@NonNull DataOutput out, int size) void
writeTo
(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:UnsignedLongSet
Returns an immutable copy of this set.- Specified by:
immutableCopy
in classUnsignedLongSet
- Returns:
- an immutable copy of this set
-
readFrom
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritableObject
- Throws:
IOException
-
writeRangesTo
- Throws:
IOException
-