All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.pattern.Sequence

java.lang.Object
   |
   +----ajanta.pattern.Pattern
           |
           +----ajanta.pattern.PatternCollection
                   |
                   +----ajanta.pattern.Sequence

public class Sequence
extends PatternCollection
A sequence pattern is composed of an ordered list of Patterns. The traversal of this pattern implies a traversal of the Patterns in the list in sequential order.

See Also:
PatternCollection, Pattern

Constructor Index

 o Sequence()

Method Index

 o next(AgentEnv)
It calls next method of each pattern in the list in a sequential order
 o scan()
An empty method

Constructors

 o Sequence
 public Sequence()

Methods

 o next
 protected int next(AgentEnv host) throws UnknownHostException
It calls next method of each pattern in the list in a sequential order

Overrides:
next in class Pattern
 o scan
 protected void scan()
An empty method

Overrides:
scan in class Pattern

All Packages  Class Hierarchy  This Package  Previous  Next  Index