Example usage for org.apache.commons.collections.functors ChainedClosure getInstance

List of usage examples for org.apache.commons.collections.functors ChainedClosure getInstance

Introduction

In this page you can find the example usage for org.apache.commons.collections.functors ChainedClosure getInstance.

Prototype

public static Closure getInstance(Collection closures) 

Source Link

Document

Create a new Closure that calls each closure in turn, passing the result into the next closure.

Usage

From source file:com.projity.pm.assignment.functor.AssignmentFieldClosureCollection.java

private AssignmentFieldClosureCollection(Collection closures) {
    this.closures = closures;
    chain = ChainedClosure.getInstance(closures);
}