intValue()
, which returns the value of this integer as an int
,
byteValue()
, which converts the given Integer
into a byte
after a narrowing primitive conversion and returns it,
shortValue()
, which returns the value of this Integer
in the short
type,
longValue()
, which returns the value of this Long
as a long
,
floatValue()
, which returns the float value of this Float
object,
doubleValue()
, which converts the value of the given Integer
to a double
type after a widening primitive conversion and returns it,
charValue()
, which converts the Character
object into its primitive data type char
, and
booleanValue()
, which returns the value of this Boolean
object as a boolean primitive.
toString()
method, which is used to convert wrapper objects to strings.