prefuse.data.tuple
Class TupleManager.TupleManagerIterator

java.lang.Object
  extended by prefuse.data.tuple.TupleManager.TupleManagerIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
TupleManager

public class TupleManager.TupleManagerIterator
extends java.lang.Object
implements java.util.Iterator

Iterator instance for iterating over tuples managed in a TupleManager.


Constructor Summary
TupleManager.TupleManagerIterator(TupleManager tuples, IntIterator rows)
          Create a new TupleManagerIterator.
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleManager.TupleManagerIterator

public TupleManager.TupleManagerIterator(TupleManager tuples,
                                         IntIterator rows)
Create a new TupleManagerIterator.

Parameters:
tuples - the TupleManager from which to get the tuples
rows - the rows to iterate over
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
See Also:
Iterator.hasNext()

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()

remove

public void remove()
Specified by:
remove in interface java.util.Iterator
See Also:
Iterator.remove()


Copyright © 2007 Regents of the University of California