Class NanNumber

  • All Implemented Interfaces:
    java.io.Serializable

    public final class NanNumber
    extends java.lang.Number
    A class representing unset or undefined numeric values.
    Author:
    Steinar Knutsen
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static NanNumber NaN  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double doubleValue()  
      float floatValue()  
      int intValue()  
      long longValue()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Number

        byteValue, shortValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • doubleValue

        public double doubleValue()
        Specified by:
        doubleValue in class java.lang.Number
      • floatValue

        public float floatValue()
        Specified by:
        floatValue in class java.lang.Number
      • intValue

        public int intValue()
        Specified by:
        intValue in class java.lang.Number
      • longValue

        public long longValue()
        Specified by:
        longValue in class java.lang.Number
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object