Package com.googlecode.javaewah
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:
clone
in interfaceCloneableIterator<EWAHIterator>
- Overrides:
clone
in classObject
- Returns:
- a copy
- Throws:
CloneNotSupportedException
- this should never happen in practice
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceCloneableIterator<EWAHIterator>
- Returns:
- whether there is more
-
next
- Specified by:
next
in interfaceCloneableIterator<EWAHIterator>
- Returns:
- the next element
-