List of utility methods to do Array Create
short[] | nullToEmpty(short[] array) Defensive programming technique to change a This method returns an empty array for a As a memory optimizing technique an empty array passed in will be overridden with the empty if (array == null || array.length == 0) { return EMPTY_SHORT_ARRAY; return array; |
T[] | toArray(final T... items) Create a type-safe generic array. return items;
|