All Packages Class Hierarchy This Package Previous Next Index
Class macondo.mistero.collections.InIterator
macondo.mistero.collections.InIterator
- public class InIterator
- implements TupleIterator
InIterator
is a tuple iterator that withdrawn
a sequence of tuples.
- See Also:
- TupleIterator
-
InIterator(Space, Tuple)
- Builds a new
InIterator
in order to withdraw tuples
with the specifed pattern from the specified tuple space.
-
nextTuple()
- TupleIterator interface method.
InIterator
public InIterator(Space space,
Tuple pattern)
- Builds a new
InIterator
in order to withdraw tuples
with the specifed pattern from the specified tuple space.
- Parameters:
- space - the tuple space.
- pattern - the tuple template.
nextTuple
public Tuple nextTuple()
- TupleIterator interface method.
Returns the next tuple in this collection. The tuple is also
withdrawn from the collection. If no tuple is available
blocks waiting for a corresponding insertion.
- Returns:
- the next tuple in this collection.
All Packages Class Hierarchy This Package Previous Next Index