| org.drools.spi.Tuple
All known Subclasses: org.drools.reteoo.ReteTuple,
Tuple | public interface Tuple extends Serializable(Code) | | Partial matches are propagated through the Rete network as Tuple s. Each Tuple
Is able to return the FactHandleImpl members of the partial match for the requested pattern.
The pattern refers to the index position of the FactHandleImpl in the underlying implementation.
See Also: FactHandle; author: Mark Proctor author: Bob McWhirter |
get | InternalFactHandle get(int pattern)(Code) | | Returns the FactHandle for the given pattern index. If the pattern is empty
It returns null.
Parameters: pattern - The index of the pattern from which the FactHandleImpl is to be returnedThe FactHandle |
get | InternalFactHandle get(Declaration declaration)(Code) | | Returns the FactHandle for the given Declaration , which in turn
specifcy the Pattern that they depend on.
Parameters: declaration - The Declaration which specifies the Pattern The FactHandle |
getRecency | long getRecency()(Code) | | Returns the tuple recency
|
size | int size()(Code) | | Returns the size of this tuple in number of elements (patterns)
|
|
|