Java Integer api example program


All Implemented Interfaces:
Serializable, Comparable<Integer>

Since:
JDK1.0

Important Integer methods:
Java Integer example to convert Integer to binary using toBinaryString
Java Integer example to convert Integer to octal using toOctalString
Java Integer example to convert Integer to HexaDecimal using toHexString
Java Integer example to convert String to Integer using valueOf,parseInt,decode
Java Integer example to wrap the int type to Integer class using valueOf
Java Integer example to unwrap the Integer class to int type using intValue
Java Integer example to count the number of bits' one in an int using bitCount
Java Integer example to get Integer value of System.property using getInteger
Java Integer example to lowest bit order of the binary equivalent of an int using lowestOneBit
Java Integer example to highest bit order of the binary equivalent of an int using highestOneBit



Related Post

Comments


©candidjava.com