月是一轮明镜,晶莹剔透,代表着一张白纸(啥也不懂)
央是一片海洋,海乃百川,代表着一块海绵(吸纳万物)
泽是一柄利剑,千锤百炼,代表着千百锤炼(输入输出)
月央泽,学习的一种过程,从白纸->吸收各种知识->不断输入输出变成自己的内容
希望大家一起坚持这个过程,也同样希望大家最终都能从零到零,把知识从薄变厚,再由厚变薄!
直接看源码注释(我的翻译可能不太准,如果道友们有更棒的理解,可以留言或者私信)
二.内部方法:getClass()
public final native Class> getClass();
hashCode()
public native int hashCode();
equals
public boolean equals(Object obj) {
return (this == obj);
}
clone
protected native Object clone() throws CloneNotSupportedException;
toString()
public String toString() {
return getClass().getName() + "@" + Integer.toHexString(hashCode());
}
notify
public final native void notify();
public final native void notifyAll();
wait()
public final native void wait(long timeout) throws InterruptedException;
public final void wait(long timeout, int nanos) throws InterruptedException {
if (timeout < 0) {
throw new IllegalArgumentException("timeout value is negative");
}
if (nanos < 0 || nanos > 999999) {
throw new IllegalArgumentException(
"nanosecond timeout value out of range");
}
if (nanos > 0) {
timeout++;
}
wait(timeout);
}
public final void wait() throws InterruptedException {
wait(0);
}
finalize
protected void finalize() throws Throwable { }
三.总结
object,应该是大家最熟悉,但又最陌生的一个类了....



