Uses of Class
org.roaringbitmap.buffer.MappeableContainer
Packages that use MappeableContainer
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.-
Uses of MappeableContainer in org.roaringbitmap
Methods in org.roaringbitmap that return MappeableContainerModifier and TypeMethodDescriptionArrayContainer.toMappeableContainer()
BitmapContainer.toMappeableContainer()
abstract MappeableContainer
Container.toMappeableContainer()
Convert to a mappeable container.RunContainer.toMappeableContainer()
Methods in org.roaringbitmap that return types with arguments of type MappeableContainerModifier and TypeMethodDescriptionprotected Supplier
<MappeableContainer> RoaringBitmapWriter.BufferWizard.arraySupplier()
RoaringBitmapWriter.bufferWriter()
protected Supplier
<MappeableContainer> RoaringBitmapWriter.BufferWizard.runSupplier()
-
Uses of MappeableContainer in org.roaringbitmap.buffer
Subclasses of MappeableContainer in org.roaringbitmap.bufferModifier and TypeClassDescriptionfinal class
Simple container made of an array of 16-bit integers.final 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.buffer that return MappeableContainerModifier and TypeMethodDescriptionMappeableArrayContainer.add
(char x) running time is in O(n) time if insert is not in order.MappeableArrayContainer.add
(int begin, int end) MappeableBitmapContainer.add
(char i) MappeableBitmapContainer.add
(int begin, int end) abstract MappeableContainer
MappeableContainer.add
(char x) Add a char to the container.abstract MappeableContainer
MappeableContainer.add
(int begin, int end) Return a new container with all chars in [begin,end) added using an unsigned interpretation.MappeableRunContainer.add
(char k) MappeableRunContainer.add
(int begin, int end) static MappeableContainer[]
BufferUtil.addOffset
(MappeableContainer source, char offsets) Add value "offset" to all values in the container, producing two new containers.MappeableArrayContainer.and
(MappeableBitmapContainer x) MappeableArrayContainer.and
(MappeableRunContainer value2) MappeableBitmapContainer.and
(MappeableBitmapContainer value2) MappeableBitmapContainer.and
(MappeableRunContainer value2) abstract MappeableContainer
MappeableContainer.and
(MappeableArrayContainer x) Computes the bitwise AND of this container with another (intersection).abstract MappeableContainer
MappeableContainer.and
(MappeableBitmapContainer x) Computes the bitwise AND of this container with another (intersection).protected MappeableContainer
MappeableContainer.and
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.and
(MappeableRunContainer x) Computes the bitwise AND of this container with another (intersection).MappeableRunContainer.and
(MappeableArrayContainer x) MappeableRunContainer.and
(MappeableBitmapContainer x) MappeableRunContainer.and
(MappeableRunContainer x) MappeableArrayContainer.andNot
(MappeableRunContainer x) MappeableBitmapContainer.andNot
(MappeableArrayContainer value2) MappeableBitmapContainer.andNot
(MappeableBitmapContainer value2) MappeableBitmapContainer.andNot
(MappeableRunContainer value2) abstract MappeableContainer
MappeableContainer.andNot
(MappeableArrayContainer x) Computes the bitwise ANDNOT of this container with another (difference).abstract MappeableContainer
MappeableContainer.andNot
(MappeableBitmapContainer x) Computes the bitwise ANDNOT of this container with another (difference).protected MappeableContainer
MappeableContainer.andNot
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.andNot
(MappeableRunContainer x) Computes the bitwise ANDNOT of this container with another (difference).MappeableRunContainer.andNot
(MappeableArrayContainer x) MappeableRunContainer.andNot
(MappeableBitmapContainer x) MappeableRunContainer.andNot
(MappeableRunContainer x) abstract MappeableContainer
MappeableContainer.clone()
MappeableRunContainer.clone()
MappeableArrayContainer.flip
(char x) MappeableBitmapContainer.flip
(char i) abstract MappeableContainer
MappeableContainer.flip
(char x) Add a char to the container if it is not present, otherwise remove it.MappeableRunContainer.flip
(char x) MappeableContainerPointer.getContainer()
This method can be used to check whether there is current a valid container as it returns null when there is not.ImmutableRoaringArray.getContainerAtIndex
(int i) MutableRoaringArray.getContainerAtIndex
(int i) PointableRoaringArray.getContainerAtIndex
(int i) MappeableArrayContainer.iadd
(int begin, int end) MappeableBitmapContainer.iadd
(int begin, int end) abstract MappeableContainer
MappeableContainer.iadd
(int begin, int end) Add all chars in [begin,end) using an unsigned interpretation.MappeableRunContainer.iadd
(int begin, int end) MappeableArrayContainer.iand
(MappeableBitmapContainer value2) MappeableArrayContainer.iand
(MappeableRunContainer value2) MappeableBitmapContainer.iand
(MappeableArrayContainer b2) MappeableBitmapContainer.iand
(MappeableBitmapContainer b2) MappeableBitmapContainer.iand
(MappeableRunContainer x) abstract MappeableContainer
MappeableContainer.iand
(MappeableArrayContainer x) Computes the in-place bitwise AND of this container with another (intersection).abstract MappeableContainer
MappeableContainer.iand
(MappeableBitmapContainer x) Computes the in-place bitwise AND of this container with another (intersection).protected MappeableContainer
MappeableContainer.iand
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.iand
(MappeableRunContainer x) Computes the in-place bitwise AND of this container with another (intersection).MappeableRunContainer.iand
(MappeableArrayContainer x) MappeableRunContainer.iand
(MappeableBitmapContainer x) MappeableRunContainer.iand
(MappeableRunContainer x) MappeableArrayContainer.iandNot
(MappeableRunContainer value2) MappeableBitmapContainer.iandNot
(MappeableArrayContainer b2) MappeableBitmapContainer.iandNot
(MappeableBitmapContainer b2) MappeableBitmapContainer.iandNot
(MappeableRunContainer x) abstract MappeableContainer
MappeableContainer.iandNot
(MappeableArrayContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).abstract MappeableContainer
MappeableContainer.iandNot
(MappeableBitmapContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).protected MappeableContainer
MappeableContainer.iandNot
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.iandNot
(MappeableRunContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).MappeableRunContainer.iandNot
(MappeableArrayContainer x) MappeableRunContainer.iandNot
(MappeableBitmapContainer x) MappeableRunContainer.iandNot
(MappeableRunContainer x) MappeableArrayContainer.inot
(int firstOfRange, int lastOfRange) MappeableBitmapContainer.inot
(int firstOfRange, int lastOfRange) abstract MappeableContainer
MappeableContainer.inot
(int rangeStart, int rangeEnd) Computes the in-place bitwise NOT of this container (complement).MappeableRunContainer.inot
(int rangeStart, int rangeEnd) MappeableArrayContainer.ior
(MappeableArrayContainer value2) MappeableArrayContainer.ior
(MappeableBitmapContainer x) MappeableArrayContainer.ior
(MappeableRunContainer value2) MappeableBitmapContainer.ior
(MappeableBitmapContainer b2) MappeableBitmapContainer.ior
(MappeableRunContainer x) abstract MappeableContainer
MappeableContainer.ior
(MappeableArrayContainer x) Computes the in-place bitwise OR of this container with another (union).abstract MappeableContainer
MappeableContainer.ior
(MappeableBitmapContainer x) Computes the in-place bitwise OR of this container with another (union).protected MappeableContainer
MappeableContainer.ior
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.ior
(MappeableRunContainer x) Computes the in-place bitwise OR of this container with another (union).MappeableRunContainer.ior
(MappeableArrayContainer x) MappeableRunContainer.ior
(MappeableBitmapContainer x) MappeableRunContainer.ior
(MappeableRunContainer x) MappeableContainer.iorNot
(MappeableContainer x, int endOfRange) Computes the in-place bitwise ORNOT of this container with another.MappeableArrayContainer.iremove
(int begin, int end) MappeableBitmapContainer.iremove
(int begin, int end) abstract MappeableContainer
MappeableContainer.iremove
(int begin, int end) Remove chars in [begin,end) using an unsigned interpretation.MappeableRunContainer.iremove
(int begin, int end) MappeableArrayContainer.ixor
(MappeableArrayContainer value2) MappeableArrayContainer.ixor
(MappeableBitmapContainer x) MappeableArrayContainer.ixor
(MappeableRunContainer value2) MappeableBitmapContainer.ixor
(MappeableArrayContainer value2) MappeableBitmapContainer.ixor
(MappeableBitmapContainer b2) MappeableBitmapContainer.ixor
(MappeableRunContainer x) abstract MappeableContainer
MappeableContainer.ixor
(MappeableArrayContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).abstract MappeableContainer
MappeableContainer.ixor
(MappeableBitmapContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).protected MappeableContainer
MappeableContainer.ixor
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.ixor
(MappeableRunContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).MappeableRunContainer.ixor
(MappeableArrayContainer x) MappeableRunContainer.ixor
(MappeableBitmapContainer x) MappeableRunContainer.ixor
(MappeableRunContainer x) MappeableContainer.lazyIOR
(MappeableContainer x) Computes the in-place bitwise OR of this container with another (union).protected MappeableContainer
MappeableArrayContainer.lazyor
(MappeableArrayContainer value2) protected MappeableContainer
MappeableBitmapContainer.lazyor
(MappeableArrayContainer value2) protected MappeableContainer
MappeableBitmapContainer.lazyor
(MappeableBitmapContainer x) protected MappeableContainer
MappeableBitmapContainer.lazyor
(MappeableRunContainer x) protected MappeableContainer
MappeableRunContainer.lazyor
(MappeableArrayContainer x) MappeableContainer.lazyOR
(MappeableContainer x) Computes the bitwise OR of this container with another (union).MappeableArrayContainer.limit
(int maxcardinality) MappeableBitmapContainer.limit
(int maxcardinality) abstract MappeableContainer
MappeableContainer.limit
(int maxcardinality) Create a new MappeableContainer containing at most maxcardinality integers.MappeableRunContainer.limit
(int maxcardinality) MappeableArrayContainer.not
(int firstOfRange, int lastOfRange) MappeableBitmapContainer.not
(int firstOfRange, int lastOfRange) abstract MappeableContainer
MappeableContainer.not
(int rangeStart, int rangeEnd) Computes the bitwise NOT of this container (complement).MappeableRunContainer.not
(int rangeStart, int rangeEnd) MappeableArrayContainer.or
(MappeableArrayContainer value2) MappeableArrayContainer.or
(MappeableBitmapContainer x) MappeableArrayContainer.or
(MappeableRunContainer value2) protected MappeableContainer
MappeableArrayContainer.or
(CharIterator it) MappeableBitmapContainer.or
(MappeableArrayContainer value2) MappeableBitmapContainer.or
(MappeableBitmapContainer value2) MappeableBitmapContainer.or
(MappeableRunContainer value2) abstract MappeableContainer
MappeableContainer.or
(MappeableArrayContainer x) Computes the bitwise OR of this container with another (union).abstract MappeableContainer
MappeableContainer.or
(MappeableBitmapContainer x) Computes the bitwise OR of this container with another (union).protected MappeableContainer
MappeableContainer.or
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.or
(MappeableRunContainer x) Computes the bitwise OR of this container with another (union).MappeableRunContainer.or
(MappeableArrayContainer x) MappeableRunContainer.or
(MappeableBitmapContainer x) MappeableRunContainer.or
(MappeableRunContainer x) MappeableContainer.orNot
(MappeableContainer x, int endOfRange) Computes the bitwise ORNOT of this container with another.static MappeableContainer
MappeableContainer.rangeOfOnes
(int start, int last) Create a container initialized with a range of consecutive valuesMappeableArrayContainer.remove
(char x) MappeableArrayContainer.remove
(int begin, int end) MappeableBitmapContainer.remove
(char i) MappeableBitmapContainer.remove
(int begin, int end) abstract MappeableContainer
MappeableContainer.remove
(char x) Remove the char from this container.abstract MappeableContainer
MappeableContainer.remove
(int begin, int end) Return a new container with all chars in [begin,end) remove using an unsigned interpretation.MappeableRunContainer.remove
(char x) MappeableRunContainer.remove
(int begin, int end) MappeableArrayContainer.repairAfterLazy()
MappeableBitmapContainer.repairAfterLazy()
abstract MappeableContainer
MappeableContainer.repairAfterLazy()
The output of a lazyOR or lazyIOR might be an invalid container, this should be called on it.MappeableRunContainer.repairAfterLazy()
MappeableArrayContainer.runOptimize()
MappeableBitmapContainer.runOptimize()
abstract MappeableContainer
MappeableContainer.runOptimize()
Convert to MappeableRunContainers, when the result is smaller.MappeableRunContainer.runOptimize()
Convert to Array or Bitmap container if the serialized form would be shorterMappeableArrayContainer.xor
(MappeableArrayContainer value2) MappeableArrayContainer.xor
(MappeableBitmapContainer x) MappeableArrayContainer.xor
(MappeableRunContainer value2) protected MappeableContainer
MappeableArrayContainer.xor
(CharIterator it) MappeableBitmapContainer.xor
(MappeableArrayContainer value2) MappeableBitmapContainer.xor
(MappeableBitmapContainer value2) MappeableBitmapContainer.xor
(MappeableRunContainer value2) abstract MappeableContainer
MappeableContainer.xor
(MappeableArrayContainer x) Computes the bitwise XOR of this container with another (symmetric difference).abstract MappeableContainer
MappeableContainer.xor
(MappeableBitmapContainer x) Computes the bitwise XOR of this container with another (symmetric difference).protected MappeableContainer
MappeableContainer.xor
(MappeableContainer x) abstract MappeableContainer
MappeableContainer.xor
(MappeableRunContainer x) Computes the bitwise XOR of this container with another (symmetric difference).MappeableRunContainer.xor
(MappeableArrayContainer x) MappeableRunContainer.xor
(MappeableBitmapContainer x) MappeableRunContainer.xor
(MappeableRunContainer x) Methods in org.roaringbitmap.buffer that return types with arguments of type MappeableContainerModifier and TypeMethodDescriptionBufferParallelAggregation.ContainerCollector.accumulator()
BufferParallelAggregation.OrCollector.accumulator()
BufferParallelAggregation.OrCollector.accumulator()
BufferParallelAggregation.OrCollector.combiner()
BufferParallelAggregation.OrCollector.finisher()
BufferParallelAggregation.OrCollector.finisher()
static SortedMap
<Character, List<MappeableContainer>> BufferParallelAggregation.groupByKey
(ImmutableRoaringBitmap... bitmaps) Groups the containers by their keysBufferParallelAggregation.OrCollector.supplier()
Methods in org.roaringbitmap.buffer with parameters of type MappeableContainerModifier and TypeMethodDescriptionstatic MappeableContainer[]
BufferUtil.addOffset
(MappeableContainer source, char offsets) Add value "offset" to all values in the container, producing two new containers.protected MappeableContainer
MappeableContainer.and
(MappeableContainer x) int
MappeableContainer.andCardinality
(MappeableContainer x) Computes the bitwise AND of this container with another (intersection).protected MappeableContainer
MappeableContainer.andNot
(MappeableContainer x) void
MutableRoaringArray.append
(char key, MappeableContainer value) void
MutableRoaringBitmap.append
(char key, MappeableContainer container) protected void
MutableRoaringArray.appendCopy
(char key, MappeableContainer value) boolean
MappeableContainer.contains
(MappeableContainer subset) Checks whether the container is a subset of this container or notprotected MappeableContainer
MappeableContainer.iand
(MappeableContainer x) protected MappeableContainer
MappeableContainer.iandNot
(MappeableContainer x) protected void
MutableRoaringArray.insertNewKeyValueAt
(int i, char key, MappeableContainer value) boolean
MappeableContainer.intersects
(MappeableContainer x) Returns true if the current container intersects the other container.protected MappeableContainer
MappeableContainer.ior
(MappeableContainer x) MappeableContainer.iorNot
(MappeableContainer x, int endOfRange) Computes the in-place bitwise ORNOT of this container with another.protected MappeableContainer
MappeableContainer.ixor
(MappeableContainer x) MappeableContainer.lazyIOR
(MappeableContainer x) Computes the in-place bitwise OR of this container with another (union).MappeableContainer.lazyOR
(MappeableContainer x) Computes the bitwise OR of this container with another (union).protected MappeableContainer
MappeableContainer.or
(MappeableContainer x) MappeableContainer.orNot
(MappeableContainer x, int endOfRange) Computes the bitwise ORNOT of this container with another.protected void
MutableRoaringArray.replaceKeyAndContainerAtIndex
(int i, char key, MappeableContainer c) protected void
MutableRoaringArray.setContainerAtIndex
(int i, MappeableContainer c) protected MappeableContainer
MappeableContainer.xor
(MappeableContainer x) int
MappeableContainer.xorCardinality
(MappeableContainer other) Returns the cardinality of the XOR between the passed container and this container without materialising a temporary container.