com.phoenixst.collections

Class ClosureChain

public class ClosureChain extends Object implements Closure, Serializable

A chain of Closures.

Since: 1.0

Version: $Revision: 1.4 $

Author: Ray A. Conner

Constructor Summary
ClosureChain(Closure[] closures)
Creates a new ClosureChain.
ClosureChain(Collection closures)
Creates a new ClosureChain.
ClosureChain(Closure first, Closure second)
Creates a new ClosureChain.
Method Summary
voidexecute(Object object)
ListgetOperands()
Returns an unmodifiable List of the argument Closures being used by this ClosureChain.
StringtoString()

Constructor Detail

ClosureChain

public ClosureChain(Closure[] closures)
Creates a new ClosureChain.

ClosureChain

public ClosureChain(Collection closures)
Creates a new ClosureChain.

ClosureChain

public ClosureChain(Closure first, Closure second)
Creates a new ClosureChain.

Method Detail

execute

public void execute(Object object)

getOperands

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

toString

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