- 1. java,lang.Boolean中没有 native方法
2. java.lang.Character中没有native方法
3. java.lang.Byte中没有本地方法
4. java.labg.Short中没有本地方法
5. java.lang.Integer中没有本地方法
6. java.lang.Long中没有本地方法
7. java.lang.Float
(1)public static native int floatToIntBits(float value);
(2)public static native float intBitsToFloat(int bits);
8. java.lang.Double
(1)public static native long doubleToLongBits(double value);
(2)public static native double longBitsToDouble(long bits);
9. java.lang.Object
(1)private static native void registerNatives();
(2)public final native Class getClass();
(3)public native int hashCode();
(4)protected native Object clone() throws CloneNotSupportedException;
(5)public final native void notify();
(6)public final native void notifyAll();
(7)public final native void wait(long timeout) throws InterruptedException;
10. java.lang.AbstractMethodError中没有本地方法
11. java.lang.ArithmeticException中没有本地方法
12. java.lang.ArrayIndexOutOfBoundsException中没有本地方法
13. java.ArrayStoreException中没有本地方法
14. java.lang.Class
(1)private static native void registerNatives();
(2)private static native Class forName0(String name, boolean initialize, ClassLoader loader)throws ClassNotFoundException;
(3)private native Object newInstance0() throws InstantiationException, IllegalAccessException;
(4)public native boolean isInstance(Object obj);
(5)public native boolean isAssignableFrom(Class cls);
(6)public native boolean isInt
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)