Interface Tuple2<A,B>

All Superinterfaces:
Serializable

public interface Tuple2<A,B> extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    _1()
     
    _2()
     
    default <C> Tuple3<A,B,C>
    append(C c)
     
    default <RES> RES
    map(Fn2<RES,A,B> f)
     
    static <A, B> Tuple2<A,B>
    of(A a, B b)
     
  • Method Details

    • _1

      A _1()
    • _2

      B _2()
    • map

      default <RES> RES map(Fn2<RES,A,B> f)
    • append

      default <C> Tuple3<A,B,C> append(C c)
    • of

      static <A, B> Tuple2<A,B> of(A a, B b)