com.googlecode.jpattern.core.util
Class CollectionHelper

java.lang.Object
  extended by com.googlecode.jpattern.core.util.CollectionHelper

public abstract class CollectionHelper
extends Object

Version:
$Id$
Author:
Francesco Cina' 14/dic/2010 - 15.13.02

Constructor Summary
CollectionHelper()
           
 
Method Summary
static
<T> T[]
toArray(Class<T> aClass, Collection<? extends T> aList)
           
static
<T> List<T>
toList(T[] aArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionHelper

public CollectionHelper()
Method Detail

toList

public static <T> List<T> toList(T[] aArray)

toArray

public static <T> T[] toArray(Class<T> aClass,
                              Collection<? extends T> aList)


Copyright © 2011. All Rights Reserved.