Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 360 Bytes

File metadata and controls

13 lines (11 loc) · 360 Bytes

Parallel

A utility class that replicates the Stream's parallel() functionality found in Java 8, for projects that can't upgrade to Java 8.

Example Usage

Parallel.forEach(elems,
    new Parallel.Function<Integer>() {
        public void execute(Integer param) {
            System.out.println(param);
        };
    });