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

Constructor Index

 o InIterator(Space, Tuple)
Builds a new InIterator in order to withdraw tuples with the specifed pattern from the specified tuple space.

Method Index

 o nextTuple()
TupleIterator interface method.

Constructors

 o 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.

Methods

 o 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