public static byte MAX_VALUE;byte最大值 2^7-1spa
public static byte MIN_VALUE;byte最小值 -2^7code
public static int SZIE; 所佔內存bit的個數對象
Byte(byte value)內存
Byte(String s)字符串
public byte byteValue() Byte對象轉換成基本類型get
public static int compare(byte x,byte y) 比較x和y大小 x=y 返回0 x<y 返回小於0 x>y返回值大於0it
public double doubleValue();float
public float floatValue();統計
public int intValue();static
public long longValue();
public static byte parseByte(String s) 字符串轉換成byte類型
public short shortValue();
public static String toString();byte轉換成字符串
public static Byte valueOf(byte b); byte轉換成Byte
public static Byte valueOf(String s);字符串轉換成Byte
public static short MAX_VALUE;最大值 2^15-1
public static short MIN_VALUE;最小值 -2^15
Short(short value)
Short(String s)
public byte byteValue();短整型轉換成byte
public double doubleValue();
public float floatValue();
public int intValue();
public long longValue();
public static short parseShort(String s);字符串轉換成short
public short shortValue();
public static Short valueOf(short s);基本類型轉換成Short
public static Short valueOf(String s);字符串轉換成Short
public static int MAX_VALUE;int最大值 2^31-1
public static int MIN_VALUE;int最小值 -2^31
public static int SIZE; int內存所佔bit
Integer(int value)
Integer(String s)
public static int bitCount(int i); 用來統計參數i轉成2進制後有多少個1
public byte byteValue();
public double doubleValue();
public boolean equals(Object obj) 比較兩個對象是否相等
public float floatValue()
public static Integer getInteger(String nm)
public int intValue();
public long longValue();
public static int parseInt(String s);
public short shortValue()
public static String toBinaryString(int i) i轉換成2進制
public static String toHexString(int i) i轉換成16進制
public static String toOctalString(int i) i 轉換成8進制
public static Integer valueOf(int i); i基本類型轉換成Integer
public static Integer valueOf(String s);s轉換成Integer類型
public static long MAX_VALUE; 2^63-1
public static long MIN_VALUE;-2^63
public Long(long value);
public Long(String s);
public boolean isNaN() 判斷這個Float對象是否不是數字
public static float MAX_VALUE;(2-2^-23)*2^127
public static float MIN_VALUE;2^-149
public static double MAX_VALUE;(2-2^-52)*2^1023
public static double MIN_VALUE;2^-1074
public static boolean isSpaceChar(char ch);字符是不是Unicode空格
public static boolean isWhitespace(char ch );ch是不是Java空格
public static boolean isLetter(char ch);ch是不是字母;
public static boolean isLowerCase(char ch);ch是不是小寫
public static boolean isUpperCase(char ch);ch是不是大寫
public String toString();轉換成String
public static String toString(char c);c字符轉換成字符串
public static char toUpperCase(char ch);ch轉換成大寫;
public static char toLowerCase(char ch);ch轉換成小寫
public static Character valueOf(char c); c基本類型轉換成Character對象
public static Boolean False;
public static Boolean True;
public Boolean(boolean value);
public Boolean(String s);
public static boolean parseBoolean(String s);
public static String toString(boolean b);
public static Boolean valueOf(boolean b);
public static Boolean valueOf(String s);