/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang; public final class Integer extends Number implements Comparable { public static final int MIN_VALUE = -2147483648; public static final int MAX_VALUE = 2147483647; public static final Class TYPE = int.class; public static final int SIZE = 32; public Integer(int value) { } public Integer(String s) throws NumberFormatException { } native public static String toString(int i, int radix); native public static String toHexString(int i); native public static String toOctalString(int i); native public static String toBinaryString(int i); native public static String toString(int i); native public static int parseInt(String s, int radix) throws NumberFormatException; native public static int parseInt(String s) throws NumberFormatException; native public static Integer valueOf(String s, int radix) throws NumberFormatException; native public static Integer valueOf(String s) throws NumberFormatException; native public static Integer valueOf(int i); native public byte byteValue(); native public short shortValue(); native public int intValue(); native public long longValue(); native public float floatValue(); native public double doubleValue(); native public String toString(); native public int hashCode(); native public boolean equals(Object obj); native public static Integer getInteger(String nm); native public static Integer getInteger(String nm, int val); native public static Integer getInteger(String nm, Integer val); native public static Integer decode(String nm) throws NumberFormatException; native public int compareTo(Integer anotherInteger); native public static int highestOneBit(int i); native public static int lowestOneBit(int i); native public static int numberOfLeadingZeros(int i); native public static int numberOfTrailingZeros(int i); native public static int bitCount(int i); native public static int rotateLeft(int i, int distance); native public static int rotateRight(int i, int distance); native public static int reverse(int i); native public static int signum(int i); native public static int reverseBytes(int i); }