| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--ajanta.pattern.Pattern
        |
        +--ajanta.pattern.PatternCollection
This is an abstract class which represents aggregation of patterns. It consists of a list of patterns and its next method can be given different semantics to derive the pattern such as sequence , set etc.
Sequence, 
Set, 
Serialized Form| Field Summary | |
protected  int | 
current
Index to the pattern to be performed next  | 
protected  java.util.Vector | 
list
Vector of patterns  | 
| Fields inherited from class ajanta.pattern.Pattern | 
action, DONE, FAILED, NOTDONE, status | 
| Constructor Summary | |
PatternCollection()
 | 
|
| Method Summary | |
 ajanta.pattern.ItinEntry | 
currentEntry()
 | 
 ajanta.pattern.ItinEntry | 
firstEntry()
It finds the first ItinEntry in the PatternCollection and return it to the caller.  | 
 void | 
insert(ajanta.pattern.Pattern p)
Add a new pattern to the list of patterns  | 
protected  void | 
join()
It calls the join method of the Pattern at current position  | 
 void | 
print()
It basically prints info about the pattern collection by recursively calling print method on each of its elements in the list and as well as its current pointer in the list  | 
protected  void | 
reset()
It sets the status of all the patterns in the list to NOTDONE  | 
| Methods inherited from class ajanta.pattern.Pattern | 
getName, next, scan, setName | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected java.util.Vector list
protected int current
| Constructor Detail | 
public PatternCollection()
| Method Detail | 
protected void reset()
reset in class Patternpublic void insert(ajanta.pattern.Pattern p)
p - Pattern to be addedprotected void join()
public ajanta.pattern.ItinEntry currentEntry()
public ajanta.pattern.ItinEntry firstEntry()
public void print()
print in class Pattern
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||