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

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

Introduction

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

Prototype

public ChainedClosure(Closure[] closures) 

Source Link

Document

Constructor that performs no validation.

Usage

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

private AssignmentFieldClosureCollection(AssignmentFieldFunctor child) {
    super();//from  www  .j  a  va2  s.c o m
    closures = new LinkedList();
    closures.add(child);
    chain = new ChainedClosure(new Closure[] { child });
}

From source file:com.projity.algorithm.SelectFrom.java

public SelectFrom select(CalculationVisitor[] fieldVisitorArray) {
    this.fieldVisitorArray = fieldVisitorArray;
    this.fieldVisitors = new ChainedClosure(fieldVisitorArray);
    return this;
}