Class Tuple2<A,B>

java.lang.Object
org.reactfx.util.Tuple2<A,B>

public class Tuple2<A,B> extends Object
  • Field Details

    • _1

      public final A _1
    • _2

      public final B _2
  • Constructor Details

    • Tuple2

      Tuple2(A a, B b)
  • Method Details

    • get1

      public A get1()
    • get2

      public B get2()
    • update1

      public Tuple2<A,B> update1(A a)
    • update2

      public Tuple2<A,B> update2(B b)
    • map

      public <T> T map(BiFunction<? super A,? super B,? extends T> f)
    • test

      public boolean test(BiPredicate<? super A,? super B> f)
    • exec

      public void exec(BiConsumer<? super A,? super B> f)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object