|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.orderlysoftware.orderlycalls.base.Pair
public class Pair
This class represents a single key-value pair.
Constructor Summary | |
---|---|
Pair(java.lang.String input)
Parses the input String and creates a new Pair. |
|
Pair(java.lang.String key,
java.lang.String value)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Pair(java.lang.String key, java.lang.String value)
key
- value
- public Pair(java.lang.String input)
The input string must be of format "key: value"
input
- The String to parse.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |