Lines Matching defs:Array
31 import java.lang.reflect.Array;
285 int arrayLength = Array.getLength(value);
291 size += packSingle(Array.get(value, i), buffer, componentType, nativeType, sizeOnly);
382 Object array;
398 "Attempting to unpack array (count = %d, element size = %d, bytes " +
403 array = Array.newInstance(componentType, arraySize);
406 Array.set(array, i, elem);
409 // Dynamic size, use an array list.
418 array = arrayList.toArray((T[]) Array.newInstance(componentType, 0));
426 return (T) array;
698 * <p>An empty array can be passed in to update the entry to 0 elements.</p>
701 * @param src An array of bytes, or null to erase the entry
713 * <p>An empty array can be returned to denote an existing entry with 0 elements.</p>
748 "Expected values array to be the same size as the enumTypes values "