com.googlecode.jpattern.core.util
Class CollectionHelper

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

public abstract class CollectionHelper
extends java.lang.Object

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

Constructor Summary
CollectionHelper()
           
 
Method Summary
static
<T> T[]
toArray(java.lang.Class<T> aClass, java.util.Collection<? extends T> aList)
           
static
<T> java.util.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> java.util.List<T> toList(T[] aArray)

toArray

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


Copyright © 2011. All Rights Reserved.