Uses of Class
org.roaringbitmap.Container
Packages that use Container
Package
Description
The org.roaringbitmap package provides
one class (
RoaringBitmap) that users
can rely upon for fast set of integers.The org.roaringbitmap.buffer package provides
two classes (
MutableRoaringBitmap and
(ImmutableRoaringBitmap) that users
can rely upon for fast set of integers.The org.roaringbitmap.longlong package provides
one class (
Roaring64NavigableMap) that users
can rely upon for fast set of 64-bit integers.-
Uses of Container in org.roaringbitmap
Classes in org.roaringbitmap with type parameters of type ContainerModifier and TypeClassDescriptionclassThis class can be used to write quickly values to a bitmap.Subclasses of Container in org.roaringbitmapModifier and TypeClassDescriptionfinal classSimple container made of an array of 16-bit integersfinal classSimple bitset-like container.final classThis container takes the form of runs of consecutive values (effectively, run-length encoding).Methods in org.roaringbitmap that return ContainerModifier and TypeMethodDescriptionArrayContainer.add(char x) running time is in O(n) time if insert is not in order.ArrayContainer.add(int begin, int end) BitmapContainer.add(char i) BitmapContainer.add(int begin, int end) abstract ContainerContainer.add(char x) Add a short to the container.abstract ContainerContainer.add(int begin, int end) Return a new container with all shorts in [begin,end) added using an unsigned interpretation.RunContainer.add(char k) RunContainer.add(int begin, int end) static Container[]Add value "offset" to all values in the container, producing two new containers.ArrayContainer.and(BitmapContainer x) ArrayContainer.and(RunContainer x) BitmapContainer.and(BitmapContainer value2) BitmapContainer.and(RunContainer x) abstract ContainerContainer.and(ArrayContainer x) Computes the bitwise AND of this container with another (intersection).abstract ContainerContainer.and(BitmapContainer x) Computes the bitwise AND of this container with another (intersection).Computes the bitwise AND of this container with another (intersection).abstract ContainerContainer.and(RunContainer x) Computes the bitwise AND of this container with another (intersection).RunContainer.and(ArrayContainer x) RunContainer.and(BitmapContainer x) RunContainer.and(RunContainer x) BitmapContainer.andNot(ArrayContainer value2) BitmapContainer.andNot(BitmapContainer value2) BitmapContainer.andNot(RunContainer x) abstract ContainerContainer.andNot(ArrayContainer x) Computes the bitwise ANDNOT of this container with another (difference).abstract ContainerContainer.andNot(BitmapContainer x) Computes the bitwise ANDNOT of this container with another (difference).Computes the bitwise ANDNOT of this container with another (difference).abstract ContainerContainer.andNot(RunContainer x) Computes the bitwise ANDNOT of this container with another (difference).RunContainer.andNot(ArrayContainer x) RunContainer.andNot(BitmapContainer x) RunContainer.andNot(RunContainer x) abstract ContainerContainer.clone()RunContainer.clone()ArrayContainer.flip(char x) BitmapContainer.flip(char i) abstract ContainerContainer.flip(char x) Add a short to the container if it is not present, otherwise remove it.RunContainer.flip(char x) ContainerPointer.getContainer()This method can be used to check whether there is current a valid container as it returns null when there is not.protected ContainerRoaringArray.getContainerAtIndex(int i) ArrayContainer.iadd(int begin, int end) BitmapContainer.iadd(int begin, int end) abstract ContainerContainer.iadd(int begin, int end) Add all shorts in [begin,end) using an unsigned interpretation.RunContainer.iadd(int begin, int end) ArrayContainer.iand(BitmapContainer value2) ArrayContainer.iand(RunContainer x) BitmapContainer.iand(ArrayContainer b2) BitmapContainer.iand(BitmapContainer b2) BitmapContainer.iand(RunContainer x) abstract ContainerContainer.iand(ArrayContainer x) Computes the in-place bitwise AND of this container with another (intersection).abstract ContainerContainer.iand(BitmapContainer x) Computes the in-place bitwise AND of this container with another (intersection).Computes the in-place bitwise AND of this container with another (intersection).abstract ContainerContainer.iand(RunContainer x) Computes the in-place bitwise AND of this container with another (intersection).RunContainer.iand(ArrayContainer x) RunContainer.iand(BitmapContainer x) RunContainer.iand(RunContainer x) ArrayContainer.iandNot(RunContainer x) BitmapContainer.iandNot(ArrayContainer b2) BitmapContainer.iandNot(BitmapContainer b2) BitmapContainer.iandNot(RunContainer x) abstract ContainerContainer.iandNot(ArrayContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).abstract ContainerContainer.iandNot(BitmapContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).Computes the in-place bitwise ANDNOT of this container with another (difference).abstract ContainerContainer.iandNot(RunContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).RunContainer.iandNot(ArrayContainer x) RunContainer.iandNot(BitmapContainer x) RunContainer.iandNot(RunContainer x) ArrayContainer.inot(int firstOfRange, int lastOfRange) BitmapContainer.inot(int firstOfRange, int lastOfRange) abstract ContainerContainer.inot(int rangeStart, int rangeEnd) Computes the in-place bitwise NOT of this container (complement).RunContainer.inot(int rangeStart, int rangeEnd) ArrayContainer.ior(ArrayContainer value2) ArrayContainer.ior(BitmapContainer x) ArrayContainer.ior(RunContainer x) BitmapContainer.ior(BitmapContainer b2) BitmapContainer.ior(RunContainer x) abstract ContainerContainer.ior(ArrayContainer x) Computes the in-place bitwise OR of this container with another (union).abstract ContainerContainer.ior(BitmapContainer x) Computes the in-place bitwise OR of this container with another (union).Computes the in-place bitwise OR of this container with another (union).abstract ContainerContainer.ior(RunContainer x) Computes the in-place bitwise OR of this container with another (union).RunContainer.ior(ArrayContainer x) RunContainer.ior(BitmapContainer x) RunContainer.ior(RunContainer x) Computes the in-place bitwise ORNOT of this container with another.ArrayContainer.iremove(int begin, int end) BitmapContainer.iremove(int begin, int end) abstract ContainerContainer.iremove(int begin, int end) Remove shorts in [begin,end) using an unsigned interpretation.RunContainer.iremove(int begin, int end) ArrayContainer.ixor(ArrayContainer value2) ArrayContainer.ixor(BitmapContainer x) ArrayContainer.ixor(RunContainer x) BitmapContainer.ixor(ArrayContainer value2) BitmapContainer.ixor(BitmapContainer b2) BitmapContainer.ixor(RunContainer x) abstract ContainerContainer.ixor(ArrayContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).abstract ContainerContainer.ixor(BitmapContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).Computes the in-place bitwise OR of this container with another (union).abstract ContainerContainer.ixor(RunContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).RunContainer.ixor(ArrayContainer x) RunContainer.ixor(BitmapContainer x) RunContainer.ixor(RunContainer x) Computes the in-place bitwise OR of this container with another (union).protected ContainerArrayContainer.lazyor(ArrayContainer value2) protected ContainerBitmapContainer.lazyor(ArrayContainer value2) protected ContainerBitmapContainer.lazyor(BitmapContainer x) protected ContainerBitmapContainer.lazyor(RunContainer x) protected ContainerRunContainer.lazyor(ArrayContainer x) Computes the bitwise OR of this container with another (union).ArrayContainer.limit(int maxcardinality) BitmapContainer.limit(int maxcardinality) abstract ContainerContainer.limit(int maxcardinality) Create a new Container containing at most maxcardinality integers.RunContainer.limit(int maxcardinality) ArrayContainer.not(int firstOfRange, int lastOfRange) BitmapContainer.not(int firstOfRange, int lastOfRange) abstract ContainerContainer.not(int rangeStart, int rangeEnd) Computes the bitwise NOT of this container (complement).RunContainer.not(int rangeStart, int rangeEnd) ArrayContainer.or(ArrayContainer value2) ArrayContainer.or(BitmapContainer x) protected ContainerArrayContainer.or(CharIterator it) ArrayContainer.or(RunContainer x) BitmapContainer.or(ArrayContainer value2) BitmapContainer.or(BitmapContainer value2) BitmapContainer.or(RunContainer x) abstract ContainerContainer.or(ArrayContainer x) Computes the bitwise OR of this container with another (union).abstract ContainerContainer.or(BitmapContainer x) Computes the bitwise OR of this container with another (union).Computes the bitwise OR of this container with another (union).abstract ContainerContainer.or(RunContainer x) Computes the bitwise OR of this container with another (union).RunContainer.or(ArrayContainer x) RunContainer.or(BitmapContainer x) RunContainer.or(RunContainer x) Computes the bitwise ORNOT of this container with another.static ContainerContainer.rangeOfOnes(int start, int last) Create a container initialized with a range of consecutive valuesArrayContainer.remove(char x) ArrayContainer.remove(int begin, int end) BitmapContainer.remove(char i) BitmapContainer.remove(int begin, int end) abstract ContainerContainer.remove(char x) Remove the char from this container.abstract ContainerContainer.remove(int begin, int end) Return a new container with all chars in [begin,end) remove using an unsigned interpretation.RunContainer.remove(char x) RunContainer.remove(int begin, int end) ArrayContainer.repairAfterLazy()BitmapContainer.repairAfterLazy()abstract ContainerContainer.repairAfterLazy()The output of a lazyOR or lazyIOR might be an invalid container, this should be called on it.RunContainer.repairAfterLazy()ArrayContainer.runOptimize()BitmapContainer.runOptimize()abstract ContainerContainer.runOptimize()Convert to RunContainers, when the result is smaller.RunContainer.runOptimize()Convert to Array or Bitmap container if the serialized form would be shorter.ArrayContainer.xor(ArrayContainer value2) ArrayContainer.xor(BitmapContainer x) protected ContainerArrayContainer.xor(CharIterator it) ArrayContainer.xor(RunContainer x) BitmapContainer.xor(ArrayContainer value2) BitmapContainer.xor(BitmapContainer value2) BitmapContainer.xor(RunContainer x) abstract ContainerContainer.xor(ArrayContainer x) Computes the bitwise XOR of this container with another (symmetric difference).abstract ContainerContainer.xor(BitmapContainer x) Computes the bitwise XOR of this container with another (symmetric difference).Computes the bitwise XOR of this container with another (symmetric difference).abstract ContainerContainer.xor(RunContainer x) Computes the bitwise XOR of this container with another (symmetric difference).RunContainer.xor(ArrayContainer x) RunContainer.xor(BitmapContainer x) RunContainer.xor(RunContainer x) Methods in org.roaringbitmap that return types with arguments of type ContainerModifier and TypeMethodDescriptionParallelAggregation.ContainerCollector.accumulator()ParallelAggregation.OrCollector.accumulator()ParallelAggregation.OrCollector.accumulator()RoaringBitmapWriter.RoaringWizard.arraySupplier()ParallelAggregation.OrCollector.combiner()RoaringBitmapWriter.RoaringWizard.fastRank()RoaringBitmapWriter.Wizard.fastRank()ParallelAggregation.OrCollector.finisher()ParallelAggregation.OrCollector.finisher()ParallelAggregation.groupByKey(RoaringBitmap... bitmaps) Groups the containers by their keysRoaringBitmapWriter.RoaringWizard.runSupplier()ParallelAggregation.OrCollector.supplier()RoaringBitmapWriter.writer()Methods in org.roaringbitmap with parameters of type ContainerModifier and TypeMethodDescriptionstatic Container[]Add value "offset" to all values in the container, producing two new containers.Computes the bitwise AND of this container with another (intersection).intContainer.andCardinality(Container x) Computes the bitwise AND of this container with another (intersection).Computes the bitwise ANDNOT of this container with another (difference).voidvoidbooleanChecks whether the container is a subset of this container or notComputes the in-place bitwise AND of this container with another (intersection).Computes the in-place bitwise ANDNOT of this container with another (difference).booleanContainer.intersects(Container x) Returns true if the current container intersects the other container.Computes the in-place bitwise OR of this container with another (union).Computes the in-place bitwise ORNOT of this container with another.Computes the in-place bitwise OR of this container with another (union).Computes the in-place bitwise OR of this container with another (union).Computes the bitwise OR of this container with another (union).Computes the bitwise OR of this container with another (union).Computes the bitwise ORNOT of this container with another.Computes the bitwise XOR of this container with another (symmetric difference).intContainer.xorCardinality(Container other) Returns the cardinality of the XOR between the passed container and this container without materialising a temporary container. -
Uses of Container in org.roaringbitmap.art
Methods in org.roaringbitmap.art that return ContainerModifier and TypeMethodDescriptionContainers.getContainer(long idx) get the Container with the corresponding container indexContainerIterator.next()Methods in org.roaringbitmap.art with parameters of type ContainerModifier and TypeMethodDescriptionlongContainers.addContainer(Container container) add a Containervoidreplace current containervoidreplace with a fresh Containervoidreplace the container index one with a fresh Container -
Uses of Container in org.roaringbitmap.buffer
Methods in org.roaringbitmap.buffer that return ContainerModifier and TypeMethodDescriptionMappeableArrayContainer.toContainer()MappeableBitmapContainer.toContainer()abstract ContainerMappeableContainer.toContainer()Convert to a non-mappeable container.MappeableRunContainer.toContainer() -
Uses of Container in org.roaringbitmap.longlong
Methods in org.roaringbitmap.longlong that return ContainerModifier and TypeMethodDescriptionContainerWithIndex.getContainer()HighLowContainer.getContainer(long containerIdx) Methods in org.roaringbitmap.longlong with parameters of type ContainerModifier and TypeMethodDescriptionvoidput the 48 bit key and the corresponding containervoidHighLowContainer.replaceContainer(long containerIdx, Container container) replace the specified position one with a fresh containerConstructors in org.roaringbitmap.longlong with parameters of type Container