JBBPFieldArrayShort extends JBBPAbstractArrayField<JBBPFieldShort> implements JBBPNumericArray { @Override public int size() { return this.array.length; } JBBPFieldArrayShort(final JBBPNamedFieldInfo name, final short[] array); short[] getArray(); @Override int size(); @Override JBBPFieldShort getElementAt(final int index); @Override int getAsInt(final int index); @Override long getAsLong(final int index); @Override boolean getAsBool(final int index); @Override Object getValueArrayAsObject(final boolean reverseBits); @Override String getTypeAsString();  }
@Test public void testSize() { assertEquals(5, test.size()); }