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.
|
String |
getValue()
Get the value of this key/value Property.
|
int |
hashCode()
Get the hash code for this Property.
|
static Property |
of(String key,
String value)
Create a new property for the specified key and value.
|
public String getKey()
public String getValue()
public int hashCode()
public boolean equals(Object obj)
public boolean equals(Property other)
other
- the other Property to compare.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.