This project has retired. For details please refer to its
Attic page.
Collects (Apache Crunch 0.3.0-incubating API)
org.apache.crunch.util
Class Collects
java.lang.Object
org.apache.crunch.util.Collects
public class Collects
- extends Object
Utility functions for returning Collection objects backed by different types
of implementations.
newArrayList
public static <T> Collection<T> newArrayList()
newArrayList
public static <T> Collection<T> newArrayList(T... elements)
newArrayList
public static <T> Collection<T> newArrayList(Iterable<? extends T> elements)
newArrayList
public static <T> Collection<T> newArrayList(Iterator<? extends T> elements)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.