@Test public void testToRealValue () { assertEquals ("-1,23", mNegativeValue.toRealValue ().toString ()); assertEquals ("0", mZeroValue.toRealValue ().toString ()); assertEquals ("1,23", mPositiveValue.toRealValue ().toString ()); }
@Override RealValue toRealValue () { return this; }
RealValue extends Value { @Override RealValue toRealValue () { return this; } }
RealValue extends Value { @Override RealValue toRealValue () { return this; } RealValue(double value);   RealValue(String value); }
RealValue extends Value { @Override RealValue toRealValue () { return this; } RealValue(double value);   RealValue(String value); @Override String toString(); }
RealValue extends Value { @Override RealValue toRealValue () { return this; } RealValue(double value);   RealValue(String value); @Override String toString();  }