Package com.googlecode.javaewah32
Class EWAHIterator32
- java.lang.Object
-
- com.googlecode.javaewah32.EWAHIterator32
-
-
Constructor Summary
Constructors Constructor Description EWAHIterator32(com.googlecode.javaewah32.Buffer32 buffer)Instantiates a new eWAH iterator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.googlecode.javaewah32.Buffer32buffer()Access to the bufferEWAHIterator32clone()static EWAHIterator32getEWAHIterator(EWAHCompressedBitmap32 bitmap)Allow expert developers to instantiate an EWAHIterator.booleanhasNext()Checks for next.intliteralWords()Position of the literal words represented by this running length word.RunningLengthWord32next()Next running length word.
-
-
-
Method Detail
-
getEWAHIterator
public static EWAHIterator32 getEWAHIterator(EWAHCompressedBitmap32 bitmap)
Allow expert developers to instantiate an EWAHIterator.- Parameters:
bitmap- we want to iterate over- Returns:
- an iterator
-
buffer
public com.googlecode.javaewah32.Buffer32 buffer()
Access to the buffer- Returns:
- the buffer
-
literalWords
public int literalWords()
Position of the literal words represented by this running length word.- Returns:
- the int
-
hasNext
public boolean hasNext()
Checks for next.- Returns:
- true, if successful
-
next
public RunningLengthWord32 next()
Next running length word.- Returns:
- the running length word
-
clone
public EWAHIterator32 clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-