/guava/guava/src/com/google/common/primitives/Shorts.java
if ( fromIndex == toIndex) { reverse( array, fromIndex, toIndex) ; }
reverse ( array, fromIndex, toIndex ) ;
int newFirstIndex = m + fromIndex; if (newFirstIndex == fromIndex) { return; } reverse(array, fromIndex, newFirstIndex); reverse(array, newFirstIndex, toIndex); <extra_id_0> } public static short[] toArray(Collection<? extends Number> collection) { if (collection instanceof ShortArrayAsList) { return ((ShortArrayAsList) collection).toShortArray(); } Object[] boxedArray = collection.toArray();