Class UnsignedLongBitmap
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.utils.UnsignedLongBitmap
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static @NonNull UnsignedLongBitmap
copyOf(Map<UnsignedLong,Boolean> map)
abstract boolean
equals(Object obj)
abstract int
hashCode()
abstract boolean
isEmpty()
@NonNull HashMap<UnsignedLong,Boolean>
mutableCopy()
static @NonNull UnsignedLongBitmap
of()
static @NonNull UnsignedLongBitmap
of(long keyBits, boolean value)
static @NonNull UnsignedLongBitmap
readFrom(@NonNull DataInput in, int size)
abstract int
size()
String
toString()
void
writeEntriesTo(@NonNull DataOutput out, int size)
-
-
-
Method Detail
-
of
public static @NonNull UnsignedLongBitmap of()
-
of
public static @NonNull UnsignedLongBitmap of(long keyBits, boolean value)
-
copyOf
public static @NonNull UnsignedLongBitmap copyOf(Map<UnsignedLong,Boolean> map)
-
isEmpty
public abstract boolean isEmpty()
-
size
public abstract int size()
-
mutableCopy
public final @NonNull HashMap<UnsignedLong,Boolean> mutableCopy()
-
readFrom
public static @NonNull UnsignedLongBitmap readFrom(@NonNull DataInput in, int size) throws IOException
- Throws:
IOException
-
writeEntriesTo
public void writeEntriesTo(@NonNull DataOutput out, int size) throws IOException
- Throws:
IOException
-
hashCode
public abstract int hashCode()
Implementations of this method return a deterministic value.
-
-