If you are fortunate enough to be using JDK 7, the newly available Objects class is the obvious (at least to me) choice for implementing the “common” Java object ...
Though Java already has a character type and char keyword to represent and manipulate characters, the language also requires a Character class for two reasons: Character c1 = new Character ('A'); ...
Developers (including you) benefit when you provide a string representation of your class. By implementing IFormattable, you can take control of this representation and provide some flexibility.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results