|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnio.Property
public final class Property
An immutable property represented by a key and value.
| Method Summary | |
|---|---|
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. |
String |
toString()
Get the String representation of this property. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getKey()
public String getValue()
public String toString()
String representation of this property.
toString in class ObjectString representation of this property.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the other Property to compare.
public boolean equals(Property other)
other - the other Property to compare.
public static Property of(String key,
String value)
key - the key for new Propertyvalue - the value for the new Property
|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||