Please enable JavaScript.
Coggle requires JavaScript to display documents.
Java X ((Number class (Supported utils (Arithmetic function (abs()
…
Java X
Number class
Related terms
Boxing:
Converting primitive data types into object,
is taken care by the compiler
-
Supported utils
Arithmetic function
- abs()
- ceil(), floor()
- min(), max()
- exp(), log()
- pow(), sqrt()
- sin(), cos()
.....
Return primitive value
syntax: xxxValue()
- byteValue()
- shortValue
....
Others
- equals()
- toString()
- random()
...
Java provides wrapper classes:
Integer, Long, Byte, Double, Float, Short
Character class
Supported utils
The letter checking
- isLetter()
- isDigit()
- isWhitespace()
- isUpperCase()
- isLowerCase()
Convert to character
- toUpperCase()
- toLowerCase()
- toString()
String class
Supported utils
-
-
Others
- compareTo()
- hashCode()
...
-
Array
-
Allocate new array
dataType[] arrayRefVar = {value0, value1, ..., valuek};
-
-
java.util.Arrays
Some common utils:
- sort();
- binarySearch()
....