Class Pair<A,​B>

  • Type Parameters:
    A - type of object a.
    B - type of object b.

    public class Pair<A,​B>
    extends Object
    Simply a pair of objects.
    • Field Detail

      • a

        public final A a
      • b

        public final B b
    • Constructor Detail

      • Pair

        public Pair​(A a,
                    B b)