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 TypeClassDescriptionclass
This class can be used to write quickly values to a bitmap.Subclasses of Container in org.roaringbitmapModifier and TypeClassDescriptionfinal class
Simple container made of an array of 16-bit integersfinal class
Simple bitset-like container.final class
This 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 Container
Container.add
(char x) Add a short to the container.abstract Container
Container.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 Container
Container.and
(ArrayContainer x) Computes the bitwise AND of this container with another (intersection).abstract Container
Container.and
(BitmapContainer x) Computes the bitwise AND of this container with another (intersection).Computes the bitwise AND of this container with another (intersection).abstract Container
Container.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 Container
Container.andNot
(ArrayContainer x) Computes the bitwise ANDNOT of this container with another (difference).abstract Container
Container.andNot
(BitmapContainer x) Computes the bitwise ANDNOT of this container with another (difference).Computes the bitwise ANDNOT of this container with another (difference).abstract Container
Container.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 Container
Container.clone()
RunContainer.clone()
ArrayContainer.flip
(char x) BitmapContainer.flip
(char i) abstract Container
Container.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 Container
RoaringArray.getContainerAtIndex
(int i) ArrayContainer.iadd
(int begin, int end) BitmapContainer.iadd
(int begin, int end) abstract Container
Container.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 Container
Container.iand
(ArrayContainer x) Computes the in-place bitwise AND of this container with another (intersection).abstract Container
Container.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 Container
Container.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 Container
Container.iandNot
(ArrayContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).abstract Container
Container.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 Container
Container.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 Container
Container.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 Container
Container.ior
(ArrayContainer x) Computes the in-place bitwise OR of this container with another (union).abstract Container
Container.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 Container
Container.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 Container
Container.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 Container
Container.ixor
(ArrayContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).abstract Container
Container.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 Container
Container.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 Container
ArrayContainer.lazyor
(ArrayContainer value2) protected Container
BitmapContainer.lazyor
(ArrayContainer value2) protected Container
BitmapContainer.lazyor
(BitmapContainer x) protected Container
BitmapContainer.lazyor
(RunContainer x) protected Container
RunContainer.lazyor
(ArrayContainer x) Computes the bitwise OR of this container with another (union).ArrayContainer.limit
(int maxcardinality) BitmapContainer.limit
(int maxcardinality) abstract Container
Container.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 Container
Container.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 Container
ArrayContainer.or
(CharIterator it) ArrayContainer.or
(RunContainer x) BitmapContainer.or
(ArrayContainer value2) BitmapContainer.or
(BitmapContainer value2) BitmapContainer.or
(RunContainer x) abstract Container
Container.or
(ArrayContainer x) Computes the bitwise OR of this container with another (union).abstract Container
Container.or
(BitmapContainer x) Computes the bitwise OR of this container with another (union).Computes the bitwise OR of this container with another (union).abstract Container
Container.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 Container
Container.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 Container
Container.remove
(char x) Remove the char from this container.abstract Container
Container.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 Container
Container.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 Container
Container.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 Container
ArrayContainer.xor
(CharIterator it) ArrayContainer.xor
(RunContainer x) BitmapContainer.xor
(ArrayContainer value2) BitmapContainer.xor
(BitmapContainer value2) BitmapContainer.xor
(RunContainer x) abstract Container
Container.xor
(ArrayContainer x) Computes the bitwise XOR of this container with another (symmetric difference).abstract Container
Container.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 Container
Container.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).int
Container.andCardinality
(Container x) Computes the bitwise AND of this container with another (intersection).Computes the bitwise ANDNOT of this container with another (difference).void
void
boolean
Checks 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).boolean
Container.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).int
Container.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 TypeMethodDescriptionlong
Containers.addContainer
(Container container) add a Containervoid
replace current containervoid
replace with a fresh Containervoid
replace 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 Container
MappeableContainer.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 TypeMethodDescriptionvoid
put the 48 bit key and the corresponding containervoid
HighLowContainer.replaceContainer
(long containerIdx, Container container) replace the specified position one with a fresh containerConstructors in org.roaringbitmap.longlong with parameters of type Container