@Test(groups = "fast") public void testConstructor() throws Exception { final DataItem item1 = new BooleanDataItem(true); Assert.assertEquals(item1.getBoolean().booleanValue(), true); final DataItem item2 = new BooleanDataItem(false); Assert.assertEquals(item2.getBoolean().booleanValue(), false); }
@Override public Boolean getBoolean() { return value; }
BooleanDataItem implements DataItem { @Override public Boolean getBoolean() { return value; } }
BooleanDataItem implements DataItem { @Override public Boolean getBoolean() { return value; } BooleanDataItem();  BooleanDataItem(boolean value); }
BooleanDataItem implements DataItem { @Override public Boolean getBoolean() { return value; } 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 Boolean getBoolean() { return value; } 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();  }