Package com.googlecode.javaewah32
Class AndIt
- java.lang.Object
-
- com.googlecode.javaewah32.AndIt
-
- All Implemented Interfaces:
CloneableIterator<EWAHIterator32>
,java.lang.Cloneable
class AndIt extends java.lang.Object implements CloneableIterator<EWAHIterator32>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) EWAHCompressedBitmap32
buffer
(package private) int
bufferSize
(package private) java.util.LinkedList<IteratingRLW32>
ll
-
Constructor Summary
Constructors Constructor Description AndIt(java.util.LinkedList<IteratingRLW32> basell, int bufSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AndIt
clone()
boolean
hasNext()
EWAHIterator32
next()
-
-
-
Field Detail
-
buffer
EWAHCompressedBitmap32 buffer
-
ll
java.util.LinkedList<IteratingRLW32> ll
-
bufferSize
final int bufferSize
-
-
Constructor Detail
-
AndIt
public AndIt(java.util.LinkedList<IteratingRLW32> basell, int bufSize)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceCloneableIterator<EWAHIterator32>
- Returns:
- whether there is more
-
clone
public AndIt clone() throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interfaceCloneableIterator<EWAHIterator32>
- Overrides:
clone
in classjava.lang.Object
- Returns:
- a copy
- Throws:
java.lang.CloneNotSupportedException
- this should never happen in practice
-
next
public EWAHIterator32 next()
- Specified by:
next
in interfaceCloneableIterator<EWAHIterator32>
- Returns:
- the next element
-
-