javax.management
public class Attribute extends Object implements Serializable
Since: 1.5
Constructor Summary | |
---|---|
Attribute(String name, Object value)
Create the attribute with the given name and value.
|
Method Summary | |
---|---|
boolean | equals(Object other)
Compares the attribute with another attribute.
|
String | getName()
Returns the attribute name.
|
Object | getValue()
Returns the attribute value.
|
int | hashCode()
Need to override as {@link #equals} is overridden.
|
Parameters: name the attribute name value the attribute value
Parameters: other the other object to compare with
Returns: true if both value and object are equal, false otherwise.
Returns: the attribute name
Returns: the attribute value.
Returns: the expression, dependent of the object and name hashcodes.