leftValue, rightValue| Constructor and Description |
|---|
StringPair(String leftValue,
String rightValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLeftValue() |
String |
getRightValue() |
StringPair |
swap()
Gives a pair that swaps the values of the current tuple
|
@ConstructorProperties(value={"leftValue","rightValue"}) public StringPair(String leftValue, String rightValue)
public String getLeftValue()
getLeftValue in interface Pair<String,String>getLeftValue in class Tuple<String,String>public String getRightValue()
getRightValue in interface Pair<String,String>getRightValue in class Tuple<String,String>public StringPair swap()
PairCopyright © 2016–2019 AdroitLogic. All rights reserved.