Package org.roaringbitmap.buffer
Class ReverseMappeableBitmapContainerCharIterator
java.lang.Object
org.roaringbitmap.buffer.ReverseMappeableBitmapContainerCharIterator
- All Implemented Interfaces:
Cloneable
,CharIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private MappeableBitmapContainer
private long
(package private) int
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Field Details
-
len
private static final int len- See Also:
-
w
private long w -
x
int x -
parent
-
-
Constructor Details
-
ReverseMappeableBitmapContainerCharIterator
ReverseMappeableBitmapContainerCharIterator() -
ReverseMappeableBitmapContainerCharIterator
ReverseMappeableBitmapContainerCharIterator(MappeableBitmapContainer p)
-
-
Method Details
-
clone
Description copied from interface:CharIterator
Creates a copy of the iterator.- Specified by:
clone
in interfaceCharIterator
- Overrides:
clone
in classObject
- Returns:
- a clone of the current iterator
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceCharIterator
- Returns:
- whether there is another value
-
next
public char next()- Specified by:
next
in interfaceCharIterator
- Returns:
- next char value
-
nextAsInt
public int nextAsInt()- Specified by:
nextAsInt
in interfaceCharIterator
- Returns:
- next short value as int value (using the least significant 16 bits)
-
remove
public void remove()Description copied from interface:CharIterator
If possible, remove the current value- Specified by:
remove
in interfaceCharIterator
-
wrap
-