Class Pair<L,​R>


  • public class Pair<L,​R>
    extends Object
    Simple pair, tuple, whatever you wanna call it TODO change this for commons-lang3 Pair whenever there are more reasons to add it as a dependency.
    Author:
    Fabian Martinez
    • Constructor Detail

      • Pair

        public Pair​(L left,
                    R right)
    • Method Detail

      • of

        public static <L,​R> Pair<L,​R> of​(L left,
                                                     R right)
      • getLeft

        public L getLeft()
      • getRight

        public R getRight()