4 public Integer(int value) {
8 public Integer(String str) {
9 value=Integer.parseInt(str, 10);
12 public int intValue() {
16 public double doubleValue() {
20 public static int parseInt(String str) {
21 return Integer.parseInt(str, 10);
24 public static int parseInt(String str, int radix) {
28 byte[] chars=str.getBytes();
30 while(chars[start]==' '||chars[start]=='\t')
33 if (chars[start]=='-') {
38 for(int i=start; cont&&i<str.length(); i++) {
43 else if (b>='a'&&b<='z')
45 else if (b>='A'&&b<='Z')
53 value=value*radix+val;
61 public String toString() {
62 return String.valueOf(value);
65 public static String toString( int i ) {
66 Integer I = new Integer( i );
70 public int hashCode() {
74 public boolean equals(Object o) {
75 if (o.getType()!=getType())
78 if (s.intValue()!=this.value)