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`

public static class JepTestWithCustomNumberType.MyNumber extends Number
A custom number type, simple wrapps a double.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MyNumber(double val)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double`
  `doubleValue()`
  `boolean`
  `equals(Object obj)`
  `float`
  `floatValue()`
  `int`
  `hashCode()`
  `int`
  `intValue()`
  `long`
  `longValue()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Number

  `byteValue, shortValue`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### MyNumber

    public MyNumber(double val)

- ## Method Details

  - ### intValue

    public int intValue()
    Specified by:
      `intValue` in class `Number`

  - ### longValue

    public long longValue()
    Specified by:
      `longValue` in class `Number`

  - ### floatValue

    public float floatValue()
    Specified by:
      `floatValue` in class `Number`

  - ### doubleValue

    public double doubleValue()
    Specified by:
      `doubleValue` in class `Number`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`