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