protected static class CollectionUtil.LocalStringPair extends java.lang.Object implements IStringPair
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
LocalStringPair() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
asArray()
Returns both strings of this pair in a String array.
|
java.lang.String |
asString(java.lang.String separator)
Returns the two strings as one string separated by the given separator.
|
java.lang.String |
getString1()
Returns the first string of this pair.
|
java.lang.String |
getString2()
Returns the second string of this pair.
|
void |
setString1(java.lang.String string) |
void |
setString2(java.lang.String string) |
public java.lang.String getString1()
IStringPair
getString1
in interface IStringPair
public void setString1(java.lang.String string)
public java.lang.String getString2()
IStringPair
getString2
in interface IStringPair
public void setString2(java.lang.String string)
public java.lang.String[] asArray()
IStringPair
asArray
in interface IStringPair
public java.lang.String asString(java.lang.String separator)
IStringPair
asString
in interface IStringPair
separator
- A separator to be placed between the two strings.