@Test(expected=IllegalArgumentException.class) public final void testSettingInvalidValueAtUpperBound() throws Exception { final BoundedFloat bf2 = new BoundedFloat(-1.0f, 0.0f, 1.0f, false, true); bf2.setValue(1.0f); }
public void setValue(String s) { setValue( Float.valueOf(s) ); }
BoundedFloat extends AbstractBounded<Float> { public void setValue(String s) { setValue( Float.valueOf(s) ); } }
BoundedFloat extends AbstractBounded<Float> { public void setValue(String s) { setValue( Float.valueOf(s) ); } BoundedFloat(final Float lower, final Float initValue, final Float upper, boolean lowerStrict, boolean upperStrict); }
BoundedFloat extends AbstractBounded<Float> { public void setValue(String s) { setValue( Float.valueOf(s) ); } BoundedFloat(final Float lower, final Float initValue, final Float upper, boolean lowerStrict, boolean upperStrict); void setValue(String s); Float clamp(Float value); }
BoundedFloat extends AbstractBounded<Float> { public void setValue(String s) { setValue( Float.valueOf(s) ); } BoundedFloat(final Float lower, final Float initValue, final Float upper, boolean lowerStrict, boolean upperStrict); void setValue(String s); Float clamp(Float value);  }