NumericValue implements NumericData { public NumericValue() {} NumericValue();  NumericValue(final double value); @Override double getMin(); @Override double getMax(); @Override double getCentroid(); @Override boolean isRange(); @Override String toString(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override byte[] toBinary(); @Override void fromBinary(final byte[] bytes);  }
@Test public void testNumericValue() { final NumericValue numericValue = new NumericValue(VALUE); Assert.assertEquals(VALUE, numericValue.getMin(), DELTA); Assert.assertEquals(VALUE, numericValue.getMax(), DELTA); Assert.assertEquals(VALUE, numericValue.getCentroid(), DELTA); Assert.assertFalse(numericValue.isRange()); }