@Beta public final class UnsignedLongRangeSet extends Object implements org.opendaylight.yangtools.concepts.Mutable
RangeSet
-like class, specialized for holding UnsignedLong
. It does not directly implement
the RangeSet
interface, but allows converting to and from it. Internal implementation takes advantage of
knowing that UnsignedLong
is a discrete type and that it can be stored in a long.Modifier and Type | Method and Description |
---|---|
void |
add(long longBits) |
void |
add(com.google.common.primitives.UnsignedLong value) |
boolean |
contains(long longBits) |
boolean |
contains(com.google.common.primitives.UnsignedLong value) |
UnsignedLongRangeSet |
copy() |
static UnsignedLongRangeSet |
create() |
static UnsignedLongRangeSet |
create(com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> input) |
com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> |
toImmutable() |
public static UnsignedLongRangeSet create()
public static UnsignedLongRangeSet create(com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> input)
public com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> toImmutable()
public void add(long longBits)
public void add(com.google.common.primitives.UnsignedLong value)
public boolean contains(com.google.common.primitives.UnsignedLong value)
public boolean contains(long longBits)
public UnsignedLongRangeSet copy()
Copyright © 2019 OpenDaylight. All rights reserved.