Package xyz.cofe.fn

Class Tuple2.Tuple2Impl<A,​B>

    • Constructor Detail

      • Tuple2Impl

        public Tuple2Impl​(A a,
                          B b)
    • Method Detail

      • a

        public A a()
        Description copied from interface: Tuple2
        Возвращает первый элемент пары
        Specified by:
        a in interface Tuple2<A,​B>
        Returns:
        первый элемент пары
      • b

        public B b()
        Description copied from interface: Tuple2
        Возвращает второй элемент пары
        Specified by:
        b in interface Tuple2<A,​B>
        Returns:
        второй элемент пары