Integer values are "objects" of this class.
Constants | |
MIN | - integer, minimal value of integer type. |
MAX | - integer, maximal value of integer type. |
Methods | |
toFloat |
( ) : float Converts this integer value to float. |
toInteger |
( ) : int Simply returns value of the integer. |
toString |
( [radix: int] )
Returns string representation of the integer using one of radix value: 10(default), 8 or 16. |
valueOf |
() : int
Simply returns value of the integer itself. |
min |
( ... ) : int Static method - returns minimum value of arguments. E.g. Integer.min(1, 2, 3) will return 1. |
max |
( ... ) : int Static method - returns maximum value of arguments. E.g. Integer.min(1, 2, 3) will return 1. |