|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.integration.osuser.PropertyParser.Pair
public static class PropertyParser.Pair
This class implements the holder for the property sort key and suffix.
Constructor Summary | |
---|---|
PropertyParser.Pair(String key,
String suffix)
Creates a new instance of this class. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Compares this property pair with another. |
boolean |
equals(Object obj)
|
String |
getKey()
Returns the property sort key |
String |
getSuffix()
Returns the property suffix |
int |
hashCode()
|
boolean |
hasSuffix()
Returns true if this pair has a property suffix (not null and not empty string), false otherwise. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyParser.Pair(String key, String suffix)
key
- property sort keysuffix
- property suffixMethod Detail |
---|
public String getKey()
public String getSuffix()
public boolean hasSuffix()
public int compareTo(Object o)
compareTo
in interface Comparable
o
- another instance of Pair to compare to
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |