Example usage for org.apache.commons.collections ClosureUtils forClosure

List of usage examples for org.apache.commons.collections ClosureUtils forClosure

Introduction

In this page you can find the example usage for org.apache.commons.collections ClosureUtils forClosure.

Prototype

public static Closure forClosure(int count, Closure closure) 

Source Link

Document

Creates a Closure that will call the closure count times.

Usage

From source file:io.coala.experimental.closure.ClosureTest.java

public void testClosureUtils() throws Exception {
    ClosureUtils.forClosure(0, null);
}