Is there a good reason why there is no Pair in Java? What would be the equivalent of this C++ construct? I would rather avoid reimplementing my own.<
Pair
JavaFX (which comes bundled with Java 8) has the Pair< A,B > class