Package com.singularsys.jeptests.system
Class JepTestWithCustomNumberType.MyNumber
java.lang.Object
java.lang.Number
com.singularsys.jeptests.system.JepTestWithCustomNumberType.MyNumber
- All Implemented Interfaces:
Serializable
- Enclosing class:
JepTestWithCustomNumberType
A custom number type, simple wrapps a double.
- See Also:
-
Constructor Details
-
MyNumber
public MyNumber(double val)
-
-
Method Details
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
toString
-
hashCode
public int hashCode() -
equals
-