public class Attribute extends Object implements Serializable
Constructor and Description |
---|
Attribute(String name, Object value)
构造一个将给定的属性名称与给定值关联的属性对象。
|
public String getName()
public Object getValue()
public boolean equals(Object object)
equals
方法重写,继承类
Object
object
-属性,目前的属性是可以比较。
Object.hashCode()
,
HashMap
public 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.