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