| Modifier and Type | Method and Description |
|---|---|
| public Twin | swap()
Redeclares org. Method used to swap the elements of pair. |
| swap | back to summary |
|---|---|
| public Twin Redeclares org. Doc from org. Method used to swap the elements of pair. e.g.
Pair<String, Integer> pair = Tuples.pair("One", 1);
Pair<Integer, String> swappedPair = pair.swap();
| |