Class TwoTuple<A,​B>

  • Type Parameters:
    A - The first type.
    B - The second type.

    public final class TwoTuple<A,​B>
    extends Object
    2-tuple.
    • Field Detail

      • a

        public final A a
      • b

        public final B b
    • Constructor Detail

      • TwoTuple

        TwoTuple​(A a,
                 B b)
        Constructs a Tuple with two items.
        Parameters:
        a - The first item.
        b - The second item.