Class UnsignedLongRangeSet
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.utils.UnsignedLongRangeSet
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Mutable,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Mutable>
@Beta public final class UnsignedLongRangeSet extends Object implements org.opendaylight.yangtools.concepts.Mutable
UtilityRangeSet-like class, specialized for holdingUnsignedLong. It does not directly implement theRangeSetinterface, but allows converting to and from it. Internal implementation takes advantage of knowing thatUnsignedLongis a discrete type and that it can be stored in a long.- Author:
- Robert Varga
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(long longBits)voidadd(com.google.common.primitives.UnsignedLong value)booleancontains(long longBits)booleancontains(com.google.common.primitives.UnsignedLong value)UnsignedLongRangeSetcopy()static UnsignedLongRangeSetcreate()static UnsignedLongRangeSetcreate(com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> input)com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong>toImmutable()StringtoString()
-
-
-
Method Detail
-
create
public static UnsignedLongRangeSet create()
-
create
public static UnsignedLongRangeSet create(com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> input)
-
toImmutable
public com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> toImmutable()
-
add
public void add(long longBits)
-
add
public void add(com.google.common.primitives.UnsignedLong value)
-
contains
public boolean contains(com.google.common.primitives.UnsignedLong value)
-
contains
public boolean contains(long longBits)
-
copy
public UnsignedLongRangeSet copy()
-
-