|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<E>
ptolemy.actor.gt.data.Tuple<java.lang.Object>
ptolemy.actor.gt.GraphMatcher.LookbackEntry
private static class GraphMatcher.LookbackEntry
An entry for a lookback item. When pattern matching reaches an end of the graph, it looks back and try to match all the objects discovered along the way that have not been considered in the matching yet.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
GraphMatcher.LookbackEntry(GraphMatcher.ObjectList patternList,
GraphMatcher.ObjectList hostList)
Construct an unfinished lookback entry with the list of pattern objects and the list of host objects. |
Method Summary | |
---|---|
GraphMatcher.ObjectList |
getHostList()
Get the list containing objects in the host model. |
GraphMatcher.ObjectList |
getPatternList()
Get the list containing objects in the pattern. |
boolean |
isFinished()
Return whether matching for the objects in the two lists in this entry has successfully finished. |
boolean |
isNegated()
Return whether the objects in the lists should be negated in the matching. |
void |
setFinished(boolean finished)
Mark this lookback entry to be finished. |
void |
setNegated(boolean negated)
Mark that the objects in the lists should be negated. |
Methods inherited from class java.util.LinkedList |
---|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
Methods inherited from class java.util.AbstractSequentialList |
---|
iterator |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, isEmpty, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
GraphMatcher.LookbackEntry(GraphMatcher.ObjectList patternList, GraphMatcher.ObjectList hostList)
patternList
- The list of pattern objects.hostList
- The list of host objects.Method Detail |
---|
public GraphMatcher.ObjectList getHostList()
public GraphMatcher.ObjectList getPatternList()
public boolean isFinished()
public boolean isNegated()
public void setFinished(boolean finished)
finished
- Whether this lookback entry is finished.public void setNegated(boolean negated)
negated
- Whether the objects should be negated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |