protected Type(String name)
name - 新控制类型的名称。
public final boolean equals(Object obj)
equals在类别
Object
obj - 与之比较的参考对象。
true如果该对象与obj参数相同;
false否则。
Object.hashCode() , HashMap
public final int hashCode()
hashCode在类别
Object
Object.equals(java.lang.Object) ,
System.identityHashCode(java.lang.Object)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.