|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.util.collections.AbstractLiteralIterator prefuse.util.collections.IntIterator prefuse.data.util.UniqueRowIterator
public class UniqueRowIterator
IntIterator over rows that ensures that no duplicates appear in the iteration. Uses a bitset to note rows it has has seen and not pass along duplicate row values.
Constructor Summary | |
---|---|
UniqueRowIterator(IntIterator iter)
Create a new UniqueRowIterator. |
Method Summary | |
---|---|
boolean |
hasNext()
|
int |
nextInt()
|
void |
remove()
Not supported. |
Methods inherited from class prefuse.util.collections.IntIterator |
---|
isDoubleSupported, isFloatSupported, isIntSupported, isLongSupported, next, nextDouble, nextFloat, nextLong |
Methods inherited from class prefuse.util.collections.AbstractLiteralIterator |
---|
isBooleanSupported, nextBoolean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniqueRowIterator(IntIterator iter)
iter
- a source iterator over table rowsMethod Detail |
---|
public boolean hasNext()
Iterator.hasNext()
public int nextInt()
nextInt
in interface LiteralIterator
nextInt
in class IntIterator
LiteralIterator.nextInt()
public void remove()
Iterator.remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |