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