Class ImmutableConciseSet
- java.lang.Object
-
- org.apache.druid.extendedset.intset.ImmutableConciseSet
-
public class ImmutableConciseSet extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ImmutableConciseSet.WordIterator
-
Constructor Summary
Constructors Constructor Description ImmutableConciseSet()
ImmutableConciseSet(IntBuffer buffer)
-
Method Summary
-
-
-
Constructor Detail
-
ImmutableConciseSet
public ImmutableConciseSet()
-
ImmutableConciseSet
public ImmutableConciseSet(IntBuffer buffer)
-
-
Method Detail
-
newImmutableFromMutable
public static ImmutableConciseSet newImmutableFromMutable(ConciseSet conciseSet)
-
union
public static ImmutableConciseSet union(ImmutableConciseSet... sets)
-
union
public static ImmutableConciseSet union(Iterable<ImmutableConciseSet> sets)
-
union
public static ImmutableConciseSet union(Iterator<ImmutableConciseSet> sets)
-
intersection
public static ImmutableConciseSet intersection(ImmutableConciseSet... sets)
-
intersection
public static ImmutableConciseSet intersection(Iterable<ImmutableConciseSet> sets)
-
intersection
public static ImmutableConciseSet intersection(Iterator<ImmutableConciseSet> sets)
-
complement
public static ImmutableConciseSet complement(ImmutableConciseSet set)
-
complement
public static ImmutableConciseSet complement(ImmutableConciseSet set, int length)
-
compact
public static ImmutableConciseSet compact(ImmutableConciseSet set)
-
doIntersection
public static ImmutableConciseSet doIntersection(Iterator<ImmutableConciseSet> sets)
-
doComplement
public static ImmutableConciseSet doComplement(ImmutableConciseSet set)
-
toBytes
public byte[] toBytes()
-
size
public int size()
-
getLast
public int getLast()
-
contains
public boolean contains(int integer)
-
iterator
public IntSet.IntIterator iterator()
-
newWordIterator
public ImmutableConciseSet.WordIterator newWordIterator()
-
-