All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.pattern.SplitJoinAny

java.lang.Object
   |
   +----ajanta.pattern.Pattern
           |
           +----ajanta.pattern.PatternCollection
                   |
                   +----ajanta.pattern.Split
                           |
                           +----ajanta.pattern.SplitJoin
                                   |
                                   +----ajanta.pattern.SplitJoinAny

public class SplitJoinAny
extends SplitJoin
It is a subclass of the abstract class SplitJoin.Here the parent waits only for the first child to return before it proceeds.

See Also:
SplitJoin

Constructor Index

 o SplitJoinAny()
 o SplitJoinAny(String)

Method Index

 o setCounter()
Counter value is set to 2 ( one for child and one for the parent )

Constructors

 o SplitJoinAny
 public SplitJoinAny()
 o SplitJoinAny
 public SplitJoinAny(String className)
Parameters:
childClass - name of the class whose instances will be all the child agents created

Methods

 o setCounter
 public int setCounter()
Counter value is set to 2 ( one for child and one for the parent )

Overrides:
setCounter in class SplitJoin

All Packages  Class Hierarchy  This Package  Previous  Next  Index