at.molindo.utils.collections
Class ArrayUtils
java.lang.Object
at.molindo.utils.collections.ArrayUtils
public class ArrayUtils
- extends Object
|
Method Summary |
static
|
empty(T[] a)
|
static boolean |
equals(byte[] a,
byte[] a2,
int off,
int len)
|
static
|
first(T[] a)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayUtils
public ArrayUtils()
equals
public static boolean equals(byte[] a,
byte[] a2,
int off,
int len)
empty
public static <T> boolean empty(T[] a)
- Returns:
true if a is not null and a.length > 0
first
public static <T> T first(T[] a)
- Returns:
- a[0] if array isn't empty
- See Also:
empty(Object[])
Copyright © 2011 Molindo GmbH. All Rights Reserved.