|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.assertions.ArrayInspection
public final class ArrayInspection
Understands utility methods for arrays.
Method Summary | |
---|---|
static List<Object> |
copy(Object array)
Copies the contents of the given array into a list. |
static int |
sizeOf(Object array)
Returns the size of the given array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<Object> copy(Object array)
array
- the array to copy.
NullPointerException
- if the given array is null
.
IllegalArgumentException
- if the given object is not an array.public static int sizeOf(Object array)
array
- the array.
NullPointerException
- if the given array is null
.
IllegalArgumentException
- if the given object is not an array.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |