Plexus v0.13.1

com.phoenixst.collections
Class ClosureChain

java.lang.Object
  extended by com.phoenixst.collections.ClosureChain
All Implemented Interfaces:
Serializable, org.apache.commons.collections.Closure

public class ClosureChain
extends Object
implements org.apache.commons.collections.Closure, Serializable

A chain of Closures.

Since:
1.0
Version:
$Revision: 1.4 $
Author:
Ray A. Conner
See Also:
Serialized Form

Constructor Summary
ClosureChain(org.apache.commons.collections.Closure[] closures)
          Creates a new ClosureChain.
ClosureChain(org.apache.commons.collections.Closure first, org.apache.commons.collections.Closure second)
          Creates a new ClosureChain.
ClosureChain(Collection closures)
          Creates a new ClosureChain.
 
Method Summary
 void execute(Object object)
           
 List getOperands()
          Returns an unmodifiable List of the argument Closures being used by this ClosureChain.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClosureChain

public ClosureChain(org.apache.commons.collections.Closure[] closures)
Creates a new ClosureChain.


ClosureChain

public ClosureChain(Collection closures)
Creates a new ClosureChain.


ClosureChain

public ClosureChain(org.apache.commons.collections.Closure first,
                    org.apache.commons.collections.Closure second)
Creates a new ClosureChain.

Method Detail

execute

public void execute(Object object)
Specified by:
execute in interface org.apache.commons.collections.Closure

getOperands

public List getOperands()
Returns an unmodifiable List of the argument Closures being used by this ClosureChain.


toString

public String toString()
Overrides:
toString in class Object

Plexus v0.13.1

See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.