public final class Property extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determine if this Property equals another Property.
|
boolean |
equals(Property other)
Determine if this Property equals another Property.
|
String |
getKey()
Get the key of this key/value Property.
|
Object |
getValue()
Get the value of this key/value Property.
|
String |
getValue$$bridger()
Get the value of this key/value Property.
|
int |
hashCode()
Get the hash code for this Property.
|
static Property |
of(String key,
Object value)
Create a new property for the specified key and value.
|
static Property |
of(String key,
String value)
Create a new property for the specified key and value.
|
String |
toString()
Get the
String representation of this property. |
public String getKey()
public Object getValue()
public String getValue$$bridger()
public int hashCode()
public boolean equals(Object obj)
public boolean equals(Property other)
other
- the other Property to compare.public static Property of(String key, Object value)
key
- the key for new Propertyvalue
- the value for the new PropertyCopyright © 2019 JBoss by Red Hat. All rights reserved.