|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tuple
Partial matches are propagated through the Rete network as Tuples. 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.
FactHandle;| Method Summary | |
|---|---|
InternalFactHandle |
get(Declaration declaration)
Returns the FactHandle for the given Declaration, which in turn
specifcy the Pattern that they depend on. |
InternalFactHandle |
get(int pattern)
Returns the FactHandle for the given pattern index. |
InternalFactHandle[] |
getFactHandles()
|
long |
getRecency()
Returns the tuple recency |
int |
size()
Returns the size of this tuple in number of elements (patterns) |
| Method Detail |
|---|
InternalFactHandle get(int pattern)
FactHandle for the given pattern index. If the pattern is empty
It returns null.
pattern - The index of the pattern from which the FactHandleImpl is to be returned
FactHandleInternalFactHandle get(Declaration declaration)
FactHandle for the given Declaration, which in turn
specifcy the Pattern that they depend on.
declaration - The Declaration which specifies the Pattern
FactHandleInternalFactHandle[] getFactHandles()
long getRecency()
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||