Class Tuple2<A,​B>

java.lang.Object
org.ddogleg.struct.Tuple2<A,​B>

public class Tuple2<A,​B>
extends Object
Simple data structure for passing a pair of data.
  • Field Details

    • d0

      @Nullable public A d0
    • d1

      @Nullable public B d1
  • Constructor Details

    • Tuple2

      public Tuple2​(@Nullable A d0, @Nullable B d1)
    • Tuple2

      public Tuple2()
  • Method Details

    • getCheckD0

      public A getCheckD0()
      Returns d0 but performs a null check first
    • getCheckD1

      public B getCheckD1()
      Returns d1 but performs a null check first