| Modifier and Type | Field and Description |
|---|---|
static java.lang.Class<java.lang.Integer> |
TYPE |
| Constructor and Description |
|---|
Integer4D(int v) |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(int a,
int b) |
int |
compareTo(Integer4D o) |
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. |
static int |
parseInt(java.lang.String str) |
static int |
parseInt(java.lang.String str,
int radix) |
static java.lang.String |
toHexString(int i) |
java.lang.String |
toString() |
static java.lang.String |
toString(int v) |
static Integer4D |
valueOf(int i) |
static Integer4D |
valueOf(java.lang.String s) |
byteValue, shortValuepublic int intValue()
Number4DNumber as an int.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static Integer4D valueOf(int i)
public static Integer4D valueOf(java.lang.String s) throws java.lang.NumberFormatException
java.lang.NumberFormatExceptionpublic static int parseInt(java.lang.String str)
throws java.lang.NumberFormatException
java.lang.NumberFormatExceptionpublic static int parseInt(java.lang.String str,
int radix)
throws java.lang.NumberFormatException
java.lang.NumberFormatExceptionpublic static java.lang.String toHexString(int i)
public static java.lang.String toString(int v)
public long longValue()
Number4DNumber as a long.public double doubleValue()
Number4DNumber as a float.doubleValue in class Number4Dpublic int compareTo(Integer4D o)
compareTo in interface java.lang.Comparable<Integer4D>public static int compare(int a,
int b)