@Test(groups = "fast") public void testConvertToDouble() throws Exception { Assert.assertEquals(value0.getDouble(), 0.0); Assert.assertEquals(value1.getDouble(), 1.0); Assert.assertEquals(valueWithDecimal.getDouble(), 1.1415); Assert.assertEquals(valueBigPositive.getDouble(), 1000000000.11111); Assert.assertEquals(valueBigNegative.getDouble(), -1000000000.11111); }
@Override public Double getDouble() { return value; }
DoubleDataItem implements DataItem { @Override public Double getDouble() { return value; } }
DoubleDataItem implements DataItem { @Override public Double getDouble() { return value; } DoubleDataItem();  DoubleDataItem(final double value); }
DoubleDataItem implements DataItem { @Override public Double getDouble() { return value; } DoubleDataItem();  DoubleDataItem(final double 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(); }
DoubleDataItem implements DataItem { @Override public Double getDouble() { return value; } DoubleDataItem();  DoubleDataItem(final double 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();  }