@Test(groups = "fast") public void testConvertToLong() throws Exception { Assert.assertEquals(trueDataItem.getLong().longValue(), 1L); Assert.assertEquals(falseDataItem.getLong().longValue(), 0L); }
@Override public Long getLong() { return getByte().longValue(); }
BooleanDataItem implements DataItem { @Override public Long getLong() { return getByte().longValue(); } }
BooleanDataItem implements DataItem { @Override public Long getLong() { return getByte().longValue(); } BooleanDataItem();  BooleanDataItem(boolean value); }
BooleanDataItem implements DataItem { @Override public Long getLong() { return getByte().longValue(); } BooleanDataItem();  BooleanDataItem(boolean 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(Object o); @Override boolean equals(Object o); @Override int hashCode(); @Override void write(DataOutput out); @Override void readFields(DataInput in); @Override String toString(); @Override byte getThriftType(); }
BooleanDataItem implements DataItem { @Override public Long getLong() { return getByte().longValue(); } BooleanDataItem();  BooleanDataItem(boolean 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(Object o); @Override boolean equals(Object o); @Override int hashCode(); @Override void write(DataOutput out); @Override void readFields(DataInput in); @Override String toString(); @Override byte getThriftType();  }