net.sf.oval.internal.util
Class ArrayUtils

java.lang.Object
  extended by net.sf.oval.internal.util.ArrayUtils

public final class ArrayUtils
extends Object

Author:
Sebastian Thomschke

Field Summary
static Method[] EMPTY_METHOD_ARRAY
           
static Object[] EMPTY_OBJECT_ARRAY
           
static String[] EMPTY_STRING_ARRAY
           
 
Method Summary
static
<T> int
addAll(Collection<T> collection, T... elements)
           
static List<?> asList(Object array)
           
static
<T> List<T>
asList(T[] array)
           
static
<T> boolean
containsEqual(T[] theArray, T theItem)
           
static
<T> boolean
containsSame(T[] theArray, T theItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_METHOD_ARRAY

public static final Method[] EMPTY_METHOD_ARRAY

EMPTY_OBJECT_ARRAY

public static final Object[] EMPTY_OBJECT_ARRAY

EMPTY_STRING_ARRAY

public static final String[] EMPTY_STRING_ARRAY
Method Detail

addAll

public static <T> int addAll(Collection<T> collection,
                             T... elements)
                  throws IllegalArgumentException
Throws:
IllegalArgumentException - if collection == null

asList

public static List<?> asList(Object array)

asList

public static <T> List<T> asList(T[] array)

containsEqual

public static <T> boolean containsEqual(T[] theArray,
                                        T theItem)

containsSame

public static <T> boolean containsSame(T[] theArray,
                                       T theItem)


Copyright © 2005–2015 The OVal Development Team. All rights reserved.