Java java.lang Number fields, constructors, methods, implement or subclass

Example usage for Java java.lang Number fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang Number.

The text is from its open source code.

Subclass

java.lang.Number has subclasses.
Click this link to see all its subclasses.

Implementation

java.lang.Number has the following implementations.
Click this link to see all its implementation.

Constructor

Number()
Constructor for subclasses to call.

Method

bytebyteValue()
Returns the value of the specified number as a byte .
doubledoubleValue()
Returns the value of the specified number as a double .
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
floatfloatValue()
Returns the value of the specified number as a float .
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
intintValue()
Returns the value of the specified number as an int .
longlongValue()
Returns the value of the specified number as a long .
shortshortValue()
Returns the value of the specified number as a short .
StringtoString()
Returns a string representation of the object.