Method set(Object array, int index, Object value)
Return type: void
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 Array.set(result, 0, val);
2 Array.set(result, i++, it.next());
3 Array.set(array, i, list.get(i));
4 Array.set(a, i, this.knownValues.get(i));
5 Array.set(array, 0, arg);
6 Array.set(newArray, newLength-1, o);
7 Array.set(array, j, pairElements[i+1]);
8 Array.set(decodedArray, n++, decodedValue);
9 Array.set(
10 Array.set(a, idx, v);
11 case 0: Array.set(
12 Array.set (theArray, i, value);
13 Array.set(array, i, convert(values[i], type, locale, pattern));
14 Array.set(a, i, this.getValue(i));
15 Array.set(retval, i, slotClone);
16 Array.set(a, i, getAsValue(pe, values[i]));
17 Array.set(result, index, value);
18 Array.set(propValue, Integer.parseInt(key), newValue);
19 Array.set(arr, j, st.nextToken());
20 (converted, j,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.