@Test public void testCast() { DblType type = DblType.instance(); Object o = new Double(999); assertEquals(new Double(999), type.cast(o), COMP_ERR); assertTrue(type.cast(o) instanceof Double); }
@Override public Double cast(Object o) throws RuntimeException { return (Double)o; }
DblType extends BaseValueType<Double> { @Override public Double cast(Object o) throws RuntimeException { return (Double)o; } }
DblType extends BaseValueType<Double> { @Override public Double cast(Object o) throws RuntimeException { return (Double)o; } private  DblType(); }
DblType extends BaseValueType<Double> { @Override public Double cast(Object o) throws RuntimeException { return (Double)o; } private  DblType(); @Deprecated() static DblType get(); static DblType instance(); @Override Double parse(String sourceValue); @Override Double cast(Object o); }
DblType extends BaseValueType<Double> { @Override public Double cast(Object o) throws RuntimeException { return (Double)o; } private  DblType(); @Deprecated() static DblType get(); static DblType instance(); @Override Double parse(String sourceValue); @Override Double cast(Object o);  }