public interface IStringPair
Modifier and Type | Field and Description |
---|---|
static IStringPair[] |
EMPTY_ARRAY
An immutable empty array of this type.
|
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.
|
static final IStringPair[] EMPTY_ARRAY
java.lang.String getString1()
java.lang.String getString2()
java.lang.String[] asArray()
java.lang.String asString(java.lang.String separator)
separator
- A separator to be placed between the two strings.