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