Class 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
    Utility 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.
    Author:
    Robert Varga
    • Method Detail

      • 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)