Class ImmutableUnsignedLongSet
java.lang.Object
org.opendaylight.controller.cluster.datastore.utils.ImmutableUnsignedLongSet
- All Implemented Interfaces:
Immutable
,WritableObject
@Beta
public final class ImmutableUnsignedLongSet
extends Object
implements Immutable, WritableObject
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
contains
(long longBits) final boolean
final int
hashCode()
final boolean
isEmpty()
final @NonNull MutableUnsignedLongSet
static @NonNull ImmutableUnsignedLongSet
of()
final @NonNull NavigableSet<org.opendaylight.controller.cluster.datastore.utils.UnsignedLongSet.Entry>
ranges()
final int
static @NonNull ImmutableUnsignedLongSet
static @NonNull ImmutableUnsignedLongSet
final String
toString()
void
writeRangesTo
(@NonNull DataOutput out, int size) void
writeTo
(DataOutput out)
-
Method Details
-
of
-
immutableCopy
-
readFrom
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritableObject
- Throws:
IOException
-
writeRangesTo
- Throws:
IOException
-
contains
public final boolean contains(long longBits) -
isEmpty
public final boolean isEmpty() -
rangeSize
public final int rangeSize() -
mutableCopy
-
ranges
public final @NonNull NavigableSet<org.opendaylight.controller.cluster.datastore.utils.UnsignedLongSet.Entry> ranges() -
hashCode
public final int hashCode() -
equals
-
toString
-