org.carrot2.util
Class ListUtils

java.lang.Object
  extended by org.carrot2.util.ListUtils

public final class ListUtils
extends Object

Utility methods for working with Lists.


Method Summary
static int[] asArray(Collection<Integer> list)
           
static
<E> ArrayList<E>
asArrayList(Collection<E> list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asArrayList

public static <E> ArrayList<E> asArrayList(Collection<E> list)

asArray

public static int[] asArray(Collection<Integer> list)


Copyright (c) Dawid Weiss, Stanislaw Osinski