@Test public void setValueTest() { Double d = 1.0; DoubleValue v = new DoubleValue(d); Double d2 = 2.0; v.setValue(d2); Assert.assertEquals(d2, v.getValue()); }
@Override public void setValue(Double value) { this.value = value; }
DoubleValue implements Value<Double> { @Override public void setValue(Double value) { this.value = value; } }
DoubleValue implements Value<Double> { @Override public void setValue(Double value) { this.value = value; } DoubleValue(Double value); }
DoubleValue implements Value<Double> { @Override public void setValue(Double value) { this.value = value; } DoubleValue(Double value); @Override Double getDouble(); @Override Double getValue(); @Override void setValue(Double value); @Override int compareTo(Value<Double> arg); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
DoubleValue implements Value<Double> { @Override public void setValue(Double value) { this.value = value; } DoubleValue(Double value); @Override Double getDouble(); @Override Double getValue(); @Override void setValue(Double value); @Override int compareTo(Value<Double> arg); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }