net.sf.tuplespace
Interface Template

All Known Implementing Classes:
SimpleTemplate

public interface Template

Simple interface that TupleSpace expects to determine if a tuple matches.


Method Summary
 boolean matches(Tuple tuple)
          Return true if tuple matches this template.
 

Method Detail

matches

public boolean matches(Tuple tuple)
Return true if tuple matches this template.

Parameters:
tuple - The tuple to examine to see if it matches.
Returns:
true if the tuple and the template match, false if not.