public class Short4D extends Number4D
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<java.lang.Short> |
TYPE |
Constructor and Description |
---|
Short4D(short v) |
Modifier and Type | Method and Description |
---|---|
double |
doubleValue()
Return the value of this
Number as a float . |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
int |
intValue()
Return the value of this
Number as an int . |
long |
longValue()
Return the value of this
Number as a long . |
short |
shortValue()
Return the value of this
Number as a short . |
java.lang.String |
toString() |
static Short4D |
valueOf(short s) |
static Short4D |
valueOf(java.lang.String s) |
public short shortValue()
Number4D
Number
as a short
.shortValue
in class Number4D
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static Short4D valueOf(short s)
public static Short4D valueOf(java.lang.String s) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public int intValue()
Number4D
Number
as an int
.public long longValue()
Number4D
Number
as a long
.public double doubleValue()
Number4D
Number
as a float
.doubleValue
in class Number4D