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 MappeableContainerContainer.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 classSimple container made of an array of 16-bit integers.final classSimple bitset-like container.final classThis 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 MappeableContainerMappeableContainer.add(char x) Add a char to the container.abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.and(MappeableArrayContainer x) Computes the bitwise AND of this container with another (intersection).abstract MappeableContainerMappeableContainer.and(MappeableBitmapContainer x) Computes the bitwise AND of this container with another (intersection).protected MappeableContainerMappeableContainer.and(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.andNot(MappeableArrayContainer x) Computes the bitwise ANDNOT of this container with another (difference).abstract MappeableContainerMappeableContainer.andNot(MappeableBitmapContainer x) Computes the bitwise ANDNOT of this container with another (difference).protected MappeableContainerMappeableContainer.andNot(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.clone()MappeableRunContainer.clone()MappeableArrayContainer.flip(char x) MappeableBitmapContainer.flip(char i) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.iand(MappeableArrayContainer x) Computes the in-place bitwise AND of this container with another (intersection).abstract MappeableContainerMappeableContainer.iand(MappeableBitmapContainer x) Computes the in-place bitwise AND of this container with another (intersection).protected MappeableContainerMappeableContainer.iand(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.iandNot(MappeableArrayContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).abstract MappeableContainerMappeableContainer.iandNot(MappeableBitmapContainer x) Computes the in-place bitwise ANDNOT of this container with another (difference).protected MappeableContainerMappeableContainer.iandNot(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.ior(MappeableArrayContainer x) Computes the in-place bitwise OR of this container with another (union).abstract MappeableContainerMappeableContainer.ior(MappeableBitmapContainer x) Computes the in-place bitwise OR of this container with another (union).protected MappeableContainerMappeableContainer.ior(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.ixor(MappeableArrayContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).abstract MappeableContainerMappeableContainer.ixor(MappeableBitmapContainer x) Computes the in-place bitwise XOR of this container with another (symmetric difference).protected MappeableContainerMappeableContainer.ixor(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableArrayContainer.lazyor(MappeableArrayContainer value2) protected MappeableContainerMappeableBitmapContainer.lazyor(MappeableArrayContainer value2) protected MappeableContainerMappeableBitmapContainer.lazyor(MappeableBitmapContainer x) protected MappeableContainerMappeableBitmapContainer.lazyor(MappeableRunContainer x) protected MappeableContainerMappeableRunContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableArrayContainer.or(CharIterator it) MappeableBitmapContainer.or(MappeableArrayContainer value2) MappeableBitmapContainer.or(MappeableBitmapContainer value2) MappeableBitmapContainer.or(MappeableRunContainer value2) abstract MappeableContainerMappeableContainer.or(MappeableArrayContainer x) Computes the bitwise OR of this container with another (union).abstract MappeableContainerMappeableContainer.or(MappeableBitmapContainer x) Computes the bitwise OR of this container with another (union).protected MappeableContainerMappeableContainer.or(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.remove(char x) Remove the char from this container.abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.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 MappeableContainerMappeableArrayContainer.xor(CharIterator it) MappeableBitmapContainer.xor(MappeableArrayContainer value2) MappeableBitmapContainer.xor(MappeableBitmapContainer value2) MappeableBitmapContainer.xor(MappeableRunContainer value2) abstract MappeableContainerMappeableContainer.xor(MappeableArrayContainer x) Computes the bitwise XOR of this container with another (symmetric difference).abstract MappeableContainerMappeableContainer.xor(MappeableBitmapContainer x) Computes the bitwise XOR of this container with another (symmetric difference).protected MappeableContainerMappeableContainer.xor(MappeableContainer x) abstract MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.and(MappeableContainer x) intMappeableContainer.andCardinality(MappeableContainer x) Computes the bitwise AND of this container with another (intersection).protected MappeableContainerMappeableContainer.andNot(MappeableContainer x) voidMutableRoaringArray.append(char key, MappeableContainer value) voidMutableRoaringBitmap.append(char key, MappeableContainer container) protected voidMutableRoaringArray.appendCopy(char key, MappeableContainer value) booleanMappeableContainer.contains(MappeableContainer subset) Checks whether the container is a subset of this container or notprotected MappeableContainerMappeableContainer.iand(MappeableContainer x) protected MappeableContainerMappeableContainer.iandNot(MappeableContainer x) protected voidMutableRoaringArray.insertNewKeyValueAt(int i, char key, MappeableContainer value) booleanMappeableContainer.intersects(MappeableContainer x) Returns true if the current container intersects the other container.protected MappeableContainerMappeableContainer.ior(MappeableContainer x) MappeableContainer.iorNot(MappeableContainer x, int endOfRange) Computes the in-place bitwise ORNOT of this container with another.protected MappeableContainerMappeableContainer.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 MappeableContainerMappeableContainer.or(MappeableContainer x) MappeableContainer.orNot(MappeableContainer x, int endOfRange) Computes the bitwise ORNOT of this container with another.protected voidMutableRoaringArray.replaceKeyAndContainerAtIndex(int i, char key, MappeableContainer c) protected voidMutableRoaringArray.setContainerAtIndex(int i, MappeableContainer c) protected MappeableContainerMappeableContainer.xor(MappeableContainer x) intMappeableContainer.xorCardinality(MappeableContainer other) Returns the cardinality of the XOR between the passed container and this container without materialising a temporary container.