Class BufferedXORIterator
java.lang.Object
com.googlecode.javaewah.BufferedXORIterator
- All Implemented Interfaces:
CloneableIterator<EWAHIterator>, Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) EWAHCompressedBitmap(package private) long[](package private) LinkedList<IteratingRLW> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
buffer
EWAHCompressedBitmap buffer -
hardbitmap
long[] hardbitmap -
ll
-
-
Constructor Details
-
BufferedXORIterator
BufferedXORIterator(LinkedList<IteratingRLW> basell, int bufSize)
-
-
Method Details
-
clone
- Specified by:
clonein interfaceCloneableIterator<EWAHIterator>- Overrides:
clonein classObject- Returns:
- a copy
- Throws:
CloneNotSupportedException- this should never happen in practice
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceCloneableIterator<EWAHIterator>- Returns:
- whether there is more
-
next
- Specified by:
nextin interfaceCloneableIterator<EWAHIterator>- Returns:
- the next element
-