jodd-core/src/main/java/jodd/util/ArraysUtil.java
public static short[] values(Short[] array) {
		short[] dest = new short[array.length];
		for (int i = 0; i < array.length; i++) {
			Short v = array[i];
			if (v != null) {
				dest[i] = v.shortValue();
			}
		}
		return dest;
	}
public static short[] values(Short[] array) {
		short[] dest = new short[array.length];
		for (int i = 0; i < array.length; i++) {
			Short v = array[i];
			if (v != null) {
				dest[i] = v.shortValue();
			}
		}
		return dest;
	}
public static short [ ] values ( Short [ ] array ) { short [ ] dest = new short [ array . length ] ; for ( int i = 0 ; i < array . length ; i ++ ) { Short v = array [ i ] ; if ( v != null ) { dest [ i ] = v . shortValue ( ) ; } } return dest ; }
Converts to primitive array.
Converts to primitive array .