锘??xml version="1.0" encoding="utf-8" standalone="yes"?>中文精品在线,91精品久久久久久,91社区在线http://www.aygfsteel.com/coffee3236888/articles/300412.html絳夌墰濂剁殑鍜栧暋絳夌墰濂剁殑鍜栧暋Fri, 30 Oct 2009 12:29:00 GMThttp://www.aygfsteel.com/coffee3236888/articles/300412.htmlhttp://www.aygfsteel.com/coffee3236888/comments/300412.htmlhttp://www.aygfsteel.com/coffee3236888/articles/300412.html#Feedback0http://www.aygfsteel.com/coffee3236888/comments/commentRss/300412.htmlhttp://www.aygfsteel.com/coffee3236888/services/trackbacks/300412.html 1 /**
2 * 鎻愪緵紼嬪簭璁捐鐨勫熀紜綾? 3 */
... 闃呰鍏ㄦ枃
]]>- Byte綾誨強鍏舵柟娉曠殑鍒嗘瀽http://www.aygfsteel.com/coffee3236888/articles/300300.html絳夌墰濂剁殑鍜栧暋絳夌墰濂剁殑鍜栧暋Fri, 30 Oct 2009 01:16:00 GMThttp://www.aygfsteel.com/coffee3236888/articles/300300.htmlhttp://www.aygfsteel.com/coffee3236888/comments/300300.htmlhttp://www.aygfsteel.com/coffee3236888/articles/300300.html#Feedback0http://www.aygfsteel.com/coffee3236888/comments/commentRss/300300.htmlhttp://www.aygfsteel.com/coffee3236888/services/trackbacks/300300.html 1 /**
2 * 鎻愪緵紼嬪簭璁捐鐨勫熀紜綾? 3 */
... 闃呰鍏ㄦ枃

]]> - Number綾誨強鍏舵柟娉曠殑鍒嗘瀽http://www.aygfsteel.com/coffee3236888/articles/300297.html絳夌墰濂剁殑鍜栧暋絳夌墰濂剁殑鍜栧暋Fri, 30 Oct 2009 01:04:00 GMThttp://www.aygfsteel.com/coffee3236888/articles/300297.htmlhttp://www.aygfsteel.com/coffee3236888/comments/300297.htmlhttp://www.aygfsteel.com/coffee3236888/articles/300297.html#Feedback0http://www.aygfsteel.com/coffee3236888/comments/commentRss/300297.htmlhttp://www.aygfsteel.com/coffee3236888/services/trackbacks/300297.html 1 /**
2 * 鎻愪緵紼嬪簭璁捐鐨勫熀紜
3 */
4 package java.lang;
5
6 /**
7 * 鎶借薄綾?nbsp;Number
8 * BigDecimal銆丅igInteger銆丅yte銆丏ouble銆丗loat銆両nteger銆丩ong 鍜?nbsp;Short 綾葷殑瓚呯被
9 */
10 public abstract class Number implements java.io.Serializable {
11
12 /** 琛ㄦ槑綾葷殑涓嶅悓鐗堟湰闂寸殑鍏煎鎬?nbsp;*/
13 private static final long serialVersionUID = -8742448824652078965L;
14
15 /**
16 * 浠?nbsp;int 褰㈠紡榪斿洖鎸囧畾鐨勬暟鍊?br />
17 */
18 public abstract int intValue();
19
20 /**
21 * 浠?nbsp;long 褰㈠紡榪斿洖鎸囧畾鐨勬暟鍊?br />
22 */
23 public abstract long longValue();
24
25 /**
26 * 浠?nbsp;float 褰㈠紡榪斿洖鎸囧畾鐨勬暟鍊?br />
27 */
28 public abstract float floatValue();
29
30 /**
31 * 浠?nbsp;double 褰㈠紡榪斿洖鎸囧畾鐨勬暟鍊?br />
32 */
33 public abstract double doubleValue();
34
35 /**
36 * 浠?nbsp;byte 褰㈠紡榪斿洖鎸囧畾鐨勬暟鍊?br />
37 */
38 public byte byteValue() {
39 return (byte) intValue();
40 }
41
42 /**
43 * 浠?nbsp;short 褰㈠紡榪斿洖鎸囧畾鐨勬暟鍊?br />
44 */
45 public short shortValue() {
46 return (short) intValue();
47 }
48 }
49

]]> - 鍏充簬Object綾繪柟娉曠殑鍒嗘瀽http://www.aygfsteel.com/coffee3236888/articles/299981.html絳夌墰濂剁殑鍜栧暋絳夌墰濂剁殑鍜栧暋Tue, 27 Oct 2009 13:50:00 GMThttp://www.aygfsteel.com/coffee3236888/articles/299981.htmlhttp://www.aygfsteel.com/coffee3236888/comments/299981.htmlhttp://www.aygfsteel.com/coffee3236888/articles/299981.html#Feedback0http://www.aygfsteel.com/coffee3236888/comments/commentRss/299981.htmlhttp://www.aygfsteel.com/coffee3236888/services/trackbacks/299981.html 1 /**
2 * 鎻愪緵紼嬪簭璁捐鐨勫熀紜綾?br />
3 */
4 package java.lang;
5
6 /**
7 * 綾誨眰嬈$粨鏋勭殑鏍圭被
8 */
9 public class Object {
10
11 /**
12 * 娉ㄥ唽涓浜涙湰鍦版柟娉曪紝鍏蜂綋瀹炵幇鍦―LL涓?br />
13 */
14 private static native void registerNatives();
15
16 static {
17 registerNatives();
18 }
19
20 /**
21 * 榪斿洖姝?nbsp;Object 鐨勮繍琛屾椂綾?br />
22 * 涓嶅彲浠ヨ閲嶅啓
23 */
24 public final native Class<?> getClass();
25
26 /**
27 * 榪斿洖瀵硅薄鐨勫搱甯岀爜鍊?br />
28 */
29 public native int hashCode();
30
31 /**
32 * 鎸囩ず鍏朵粬鏌愪釜瀵硅薄鏄惁涓庢瀵硅薄鐩哥瓑錛屾瘮杈冪殑鏄璞$殑寮曠敤
33 * 鏈変簺瀛愮被浼氶噸鍐欒鏂規硶錛屼互浣垮叾鍏鋒湁姣旇緝瀵硅薄鍐呭鐨勫姛鑳?br />
34 * 瀛愮被鍦ㄩ噸鍐欒鏂規硶鐨勬椂鍊欙紝閫氬父瑕侀噸鍐?nbsp;hashCode() 鏂規硶
35 */
36 public boolean equals(Object obj) {
37 return (this == obj);
38 }
39
40 /**
41 * 鍒涘緩騫惰繑鍥炴瀵硅薄鐨勪竴涓壇鏈?br />
42 * 榪欎釜鏂規硶琚畾涔変負 protected ,璋冪敤姝ゆ柟娉曢渶瑕佸疄鐜?nbsp;Cloneable 鎺ュ彛
43 * 鍚﹀垯鎶涘嚭寮傚父 CloneNotSupportedException
44 */
45 protected native Object clone() throws CloneNotSupportedException;
46
47 /**
48 * 榪斿洖璇ュ璞$殑瀛楃涓茶〃紺猴紝綾誨悕@瀵硅薄鍝堝笇鐮佺殑鏃犵鍙峰崄鍏繘鍒?br />
49 */
50 public String toString() {
51 return getClass().getName() + "@" + Integer.toHexString(hashCode());
52 }
53
54 /**
55 * 鍞ら啋鍦ㄦ瀵硅薄鐩戣鍣ㄤ笂絳夊緟鐨勫崟涓嚎紼?br />
56 * 涓嶅彲浠ヨ閲嶅啓
57 */
58 public final native void notify();
59
60 /**
61 * 鍞ら啋鍦ㄦ瀵硅薄鐩戣鍣ㄤ笂絳夊緟鐨勬墍鏈夌嚎紼?br />
62 * 涓嶅彲浠ヨ閲嶅啓
63 */
64 public final native void notifyAll();
65
66 /**
67 * 鍦ㄥ叾浠栫嚎紼嬭皟鐢ㄦ瀵硅薄鐨?nbsp;notify()鏂規硶鎴杗otifyAll() 鏂規硶錛屾垨鑰呰秴榪囨寚瀹氱殑鏃墮棿閲忓墠錛屽鑷村綋鍓嶇嚎紼嬬瓑寰?br />
68 * 涓嶅彲浠ヨ閲嶅啓
69 */
70 public final native void wait(long timeout) throws InterruptedException;
71
72 /**
73 * 鍦ㄥ叾浠栫嚎紼嬭皟鐢ㄦ瀵硅薄鐨?nbsp;notify() 鏂規硶鎴?nbsp;notifyAll()
74 * 鏂規硶錛屾垨鑰呭叾浠栨煇涓嚎紼嬩腑鏂綋鍓嶇嚎紼嬶紝鎴栬呭凡瓚呰繃鏌愪釜瀹為檯鏃墮棿閲忓墠錛屽鑷村綋鍓嶇嚎紼嬬瓑寰?br />
75 * 涓嶅彲浠ヨ閲嶅啓
76 */
77 public final void wait(long timeout, int nanos) throws InterruptedException {
78 if (timeout < 0) {
79 throw new IllegalArgumentException("timeout value is negative");
80 }
81
82 if (nanos < 0 || nanos > 999999) {
83 throw new IllegalArgumentException(
84 "nanosecond timeout value out of range");
85 }
86
87 if (nanos >= 500000 || (nanos != 0 && timeout == 0)) {
88 timeout++;
89 }
90
91 wait(timeout);
92 }
93
94 /**
95 * 鍦ㄥ叾浠栫嚎紼嬭皟鐢ㄦ瀵硅薄鐨?nbsp;notify() 鏂規硶鎴?nbsp;notifyAll() 鏂規硶鍓嶏紝瀵艱嚧褰撳墠綰跨▼絳夊緟
96 * 涓嶅彲浠ヨ閲嶅啓
97 */
98 public final void wait() throws InterruptedException {
99 wait(0);
100 }
101
102 /**
103 * 瀵硅薄鐨勫瀮鍦懼洖鏀跺櫒璋冪敤姝ゆ柟娉曪紝鍏蜂綋瀹炵幇鐨勬柟娉曚綋鐢卞瓙綾婚噸鍐欐鏂規硶
104 */
105 protected void finalize() throws Throwable {
106 }
107 }
108

]]>
主站蜘蛛池模板:
陇西县|
于都县|
东乌珠穆沁旗|
宣汉县|
卢湾区|
军事|
通化县|
邵阳市|
泾阳县|
嘉义县|
丰镇市|
鄢陵县|
韶山市|
肥西县|
南昌市|
交城县|
新河县|
商南县|
温宿县|
慈利县|
温州市|
灵寿县|
福泉市|
永泰县|
阿图什市|
余庆县|
武乡县|
蓝田县|
平潭县|
三台县|
高淳县|
桑植县|
剑阁县|
湟中县|
阿城市|
宿松县|
光山县|
普格县|
桂林市|
柳州市|
淄博市|