- 共有的几个成员函数
- public ClassType
例:Integer i=new Integer(1); - public type typeValue()
例:float x=flt.floatValue(); - public String toString()
例:System.out.print(i.toString()); - public boolean equals(Object obj)
例:Integer j=new Integer(1);
boolean bool=j.equals(i);
- Boolean类
- public static boolean getBoolean(String name)
- Character类
- public static boolean isLowerCase(char ch)
- public static boolean isUpperCase(char ch)
- public static int digit(char ch,int radix)
- public static boolean isDigit(char ch)
- public static char forDigit(int digit,int radix)
- public static char toLowerCase(char ch)
- public static char toUpperCase(char ch)
- Number类
- public int intValue()
- public long longValue()
- public float floatValue()
- public double doubleValue()
- Integer类
- public static int parseInt(String s,int radix)
- public static int parseInt(String s)
- public static Integer getInteger(String name)
- public static Integer getInteger(String name,int val)
- public static Integer getInteger(String name,Integer val)
- Float类
- public boolean isInifite()
- public static isInifite(float v)
- public static int floatToIntBits(float value)
- public static float intBitsToFloat(int value)
例:Integer i=new Integer(1);