Package com.googlecode.javaewah
Class BufferedORIterator
java.lang.Object
com.googlecode.javaewah.BufferedORIterator
- All Implemented Interfaces:
CloneableIterator<EWAHIterator>
,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final EWAHCompressedBitmap
(package private) final long[]
(package private) final LinkedList
<IteratingRLW> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
buffer
-
hardBitmap
final long[] hardBitmap -
ll
-
-
Constructor Details
-
BufferedORIterator
BufferedORIterator(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
-