Method getLength(Object array)
Return type: int
Member of: java.lang.reflect.Array
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return index < Array.getLength(array);
2 return i
3 for (int i = 0, N = Array.getLength(array); i < N; i++) {
4 for (int i = 0; i < Array.getLength(value); i++)
5 int len = Array.getLength(newValue);
6 int length = Array.getLength(array);
7 int newLength = Array.getLength(array) + 1;
8 return java.lang.reflect.Array.getLength(arg) == 0;
9 int len = Array.getLength(value_);
10 for (int i = 0; i < Array.getLength(o); i++)
11 size = Array.getLength( this.array );
12 case 0: return new java.lang.Integer(Array.getLength(
13 int length = Array.getLength(collection);
14 int length = java.lang.reflect.Array.getLength (array);
15 if (Array.getLength(value) < 1) {
16 int size1 = Array.getLength(array1);
17 if (Array.getLength(obj1) != Array.getLength(obj2)) return false;
18 final int arrayLength = Array.getLength( array );
19 final int arrayLength = Array.getLength(obj);
20 Object[] result = (Object[]) Array.newInstance(a.getClass().getComponentType(), Array.getLength(a) + Array.getLength(b));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.