4 public Integer(int value) {
8 public Integer(String str) {
9 value=Integer.parseInt(str, 10);
12 public int intValue() {
16 public static int parseInt(String str) {
17 return Integer.parseInt(str, 10);
20 public static int parseInt(String str, int radix) {
24 byte[] chars=str.getBytes();
26 while(chars[start]==' '||chars[start]=='\t')
29 if (chars[start]=='-') {
34 for(int i=start;cont&&i<str.length();i++) {
39 else if (b>='a'&&b<='z')
41 else if (b>='A'&&b<='Z')
47 value=value*radix+val;
55 public String toString() {
56 return String.valueOf(value);