Comparable<T>
Pair<T,T>
Serializable
public interface Twin<T> extends Pair<T,T>
Twin<T>
swap()
compareTo
getOne, getTwo, put, toEntry
Twin<T> swap()
Pair
e.g. Pair<String, Integer> pair = Tuples.pair("One", 1); Pair<Integer, String> swappedPair = pair.swap();
swap
Copyright © 2004–2019. All rights reserved.