SHORT extends NumberType<Short> { @Override public short shortValue() { return Bits.getShort(getBytes()); } SHORT();  SHORT(short value); void set(short value); @Override int intValue(); @Override long longValue(); @Override byte byteValue(); @Override short shortValue(); @Override void set(Short value); @Override Short get();  }
@Test public void testMinValue() { short expected = Short.MIN_VALUE; short actual = new SHORT(expected).shortValue(); assertEquals(expected, actual); }
@Test public void testMaxValue() { short expected = Short.MAX_VALUE; short actual = new SHORT(expected).shortValue(); assertEquals(expected, actual); }