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')
49 value=value*radix+val;
57 public String toString() {
58 return String.valueOf(value);
61 public static String toString( int i ) {
62 Integer I = new Integer( i );
66 public int hashCode() {
70 public boolean equals(Object o) {
71 if (o.getType()!=getType())
74 if (s.intValue()!=this.value)