Interface BiTuple<A,B>

All Superinterfaces:
Tuple

@NullMarked public sealed interface BiTuple<A,B> extends Tuple
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable A
     
    @Nullable B
     
    static <A, B> BiTuple<A,B>
    of(int storeSize)
     
    static <A, B> BiTuple<A,B>
    of(@Nullable A a, int storeSize)
     
    static <A, B> BiTuple<A,B>
    of(@Nullable A a, @Nullable B b, int storeSize)
     
    void
    setA(@Nullable A a)
     
    void
    setB(@Nullable B b)
     

    Methods inherited from interface ai.timefold.solver.core.impl.bavet.common.tuple.Tuple

    getState, getStore, removeStore, setState, setStore
  • Method Details

    • of

      static <A, B> BiTuple<A,B> of(int storeSize)
    • of

      static <A, B> BiTuple<A,B> of(@Nullable A a, int storeSize)
    • of

      static <A, B> BiTuple<A,B> of(@Nullable A a, @Nullable B b, int storeSize)
    • getA

      @Nullable A getA()
    • setA

      void setA(@Nullable A a)
    • getB

      @Nullable B getB()
    • setB

      void setB(@Nullable B b)