Name: mc57594 Date: 02/11/97
for consistency's sake, can we get static methods in Each
of the primative wrapper classes that turn the primative type
into a string? For example,
I can turn a integer into a string:
String s = Integer.toString(10);
But I cannot turn a character into a string like this:
String s = Character.toString('c');
Nor can I with booleans:
String s = Boolean.toString(true);
If we had all of these methods, it would be wonderfully consistent.
-Robert Temple
company - Starwave Corporation , email - ###@###.###
======================================================================
- duplicates
-
JDK-4260762 static String Boolean.toString(boolean) missing
-
- Closed
-