
public final class Property
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determine if this Property equals another Property.
|
boolean |
equals(Property other)
Determine if this Property equals another Property.
|
java.lang.String |
getKey()
Get the key of this key/value Property.
|
java.lang.Object |
getValue()
Get the value of this key/value Property.
|
java.lang.String |
getValue$$bridger()
Get the value of this key/value Property.
|
int |
hashCode()
Get the hash code for this Property.
|
static Property |
of(java.lang.String key,
java.lang.Object value)
Create a new property for the specified key and value.
|
static Property |
of(java.lang.String key,
java.lang.String value)
Create a new property for the specified key and value.
|
java.lang.String |
toString()
Get the
String representation of this property. |
public java.lang.String getKey()
public java.lang.Object getValue()
public java.lang.String getValue$$bridger()
public java.lang.String toString()
String representation of this property.toString in class java.lang.ObjectString representation of this property.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the other Property to compare.public boolean equals(Property other)
other - the other Property to compare.public static Property of(java.lang.String key, java.lang.Object value)
key - the key for new Propertyvalue - the value for the new Propertypublic static Property of(java.lang.String key, java.lang.String value)
key - the key for new Propertyvalue - the value for the new PropertyCopyright © 2010 JBoss, a division of Red Hat, Inc.