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.