Package com.yahoo.search.result
Class NanNumber
- java.lang.Object
-
- java.lang.Number
-
- com.yahoo.search.result.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
-
-
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()
-
-
-
Field Detail
-
NaN
public static final NanNumber NaN
-
-
Method Detail
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-