当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
ObjectMatches - JBoss RULES 3.0.6 API 英文版文档
org.drools.reteoo
Class ObjectMatches
java.lang.Object
org.drools.util.AbstractBaseLinkedListNode
org.drools.util.BaseMultiLinkedListNode
org.drools.reteoo.ObjectMatches
- All Implemented Interfaces:
- java.io.Serializable, LinkedListNode, MultiLinkedListNode
public class ObjectMatches
- extends BaseMultiLinkedListNode
ObjectMatches
maintains a reference to its FactHandleImpl
and a LinkedList
of TupleMatch
es.
- See Also:
TupleMatch
,
LinkedList
,
Serialized Form
Constructor Summary |
ObjectMatches(DefaultFactHandle handle)
Constructs an ObjectMatches which maintain a reference to its FactHandleImpl with an empty LinkedList . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectMatches
public ObjectMatches(DefaultFactHandle handle)
- Constructs an ObjectMatches which maintain a reference to its
FactHandleImpl
with an empty LinkedList
.
- Parameters:
handle
-
getFactHandle
public DefaultFactHandle getFactHandle()
- Return
FactHandleImpl
that this provides the TupleMatch
es for.
- Returns:
getFirstTupleMatch
public TupleMatch getFirstTupleMatch()
- Return the first
TupleMatch
that this FactHandleImpl
matches.
- Returns:
- the
TupleMatch
getLastTupleMatch
public TupleMatch getLastTupleMatch()
- Return the last
TupleMatch
that this FactHandleImpl
matches.
- Returns:
- the
TupleMatch
size
public int size()
hasMatches
public boolean hasMatches()