Yes, have a look at Apache Commons Pair.
Use sparingly, if at all; left and right doesn’t really convey anything about the content or relation between the elements.
(The Pair class was deliberately left out of the standard Java API.)
Yes, have a look at Apache Commons Pair.
Use sparingly, if at all; left and right doesn’t really convey anything about the content or relation between the elements.
(The Pair class was deliberately left out of the standard Java API.)