@Test(groups = "fast") public void testConvertToShort() throws Exception { Assert.assertEquals(value0.getShort(), Short.valueOf((short) 0)); Assert.assertEquals(value1.getShort(), Short.valueOf((short) 1)); Assert.assertEquals(value127.getShort(), Short.valueOf((short) 127)); Assert.assertEquals(valueMinus128.getShort(), Short.valueOf((short) -128)); }
@Override public Short getShort() { return value.shortValue(); }
ByteDataItem implements DataItem { @Override public Short getShort() { return value.shortValue(); } }
ByteDataItem implements DataItem { @Override public Short getShort() { return value.shortValue(); } ByteDataItem();  ByteDataItem(final byte value); }
ByteDataItem implements DataItem { @Override public Short getShort() { return value.shortValue(); } ByteDataItem();  ByteDataItem(final byte value); @Override Boolean getBoolean(); @Override Byte getByte(); @Override Integer getInteger(); @Override Short getShort(); @Override Long getLong(); @Override String getString(); @Override Double getDouble(); @Override Comparable getComparable(); @Override int compareTo(final Object o); @Override boolean equals(final Object o); @Override int hashCode(); @Override void write(final DataOutput out); @Override void readFields(final DataInput in); @Override String toString(); @Override byte getThriftType(); }
ByteDataItem implements DataItem { @Override public Short getShort() { return value.shortValue(); } ByteDataItem();  ByteDataItem(final byte value); @Override Boolean getBoolean(); @Override Byte getByte(); @Override Integer getInteger(); @Override Short getShort(); @Override Long getLong(); @Override String getString(); @Override Double getDouble(); @Override Comparable getComparable(); @Override int compareTo(final Object o); @Override boolean equals(final Object o); @Override int hashCode(); @Override void write(final DataOutput out); @Override void readFields(final DataInput in); @Override String toString(); @Override byte getThriftType();  }