Skip to content

Opening book details…

About this document

Wrapper Methods for Numeric Types by suthaz is a document available to read on EtoBox.

Wrapper methods allow primitive types to be used like objects. They include xxxValue() to get a primitive value from a wrapper, parseXxx() and valueOf() to convert strings to primitives or wrappers, and toString() to get a string representation. Integer and Long wrappers have additional methods like toHexString(). String methods include charAt(), concat(), equalsIgnoreCase(), length(), replace(), substring(), and more. StringBuffer and StringBuilder are mutable alternatives to String with methods like app

Author
suthaz
Language
EN