Interface Tuple3OfNullables<T0,​T1,​T2>

    • Method Detail

      • get0

        Optional<T0> get0()
        Returns the 0th element from this tuple.
        Returns:
        the 0th element from this tuple.
      • get1

        Optional<T1> get1()
        Returns the 1st element from this tuple.
        Returns:
        the 1st element from this tuple.
      • get2

        Optional<T2> get2()
        Returns the 2nd element from this tuple.
        Returns:
        the 2nd element from this tuple.
      • degree

        default int degree()
        Description copied from interface: BasicTuple
        Returns the degree of the BasicTuple. For example, a Tuple2 has a degree of 2 whereas a Tuple3 has a degree of 3.
        Specified by:
        degree in interface BasicTuple<T0>
        Returns:
        the degree of the Tuple
      • get

        default Optional<Object> get​(int index)
        Description copied from interface: BasicTuple
        Gets the tuple element at the given index. For example, get(0) will return the first element and get(1) will return the second etc.
        Specified by:
        get in interface BasicTuple<T0>
        Parameters:
        index - of the element to get
        Returns:
        the tuple element at the given index
      • getter0

        static <T0,​T1,​T2> TupleGetter0<Tuple3OfNullables<T0,​T1,​T2>,​Optional<T0>> getter0()
        Returns a getter for the 0th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        Returns:
        the element at the 0th position
      • getOrNull0

        default T0 getOrNull0()
        Returns the 0th element from this tuple or null if no such element is present.
        Returns:
        the 0th element from this tuple or null if no such element is present.
      • getterOrNull0

        static <T0,​T1,​T2> TupleGetter0<Tuple3OfNullables<T0,​T1,​T2>,​T0> getterOrNull0()
        Returns a getter for the 0th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        Returns:
        the element at the 0th position
      • getter1

        static <T0,​T1,​T2> TupleGetter1<Tuple3OfNullables<T0,​T1,​T2>,​Optional<T1>> getter1()
        Returns a getter for the 1st element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        Returns:
        the element at the 1st position
      • getOrNull1

        default T1 getOrNull1()
        Returns the 1st element from this tuple or null if no such element is present.
        Returns:
        the 1st element from this tuple or null if no such element is present.
      • getterOrNull1

        static <T0,​T1,​T2> TupleGetter1<Tuple3OfNullables<T0,​T1,​T2>,​T1> getterOrNull1()
        Returns a getter for the 1st element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        Returns:
        the element at the 1st position
      • getter2

        static <T0,​T1,​T2> TupleGetter2<Tuple3OfNullables<T0,​T1,​T2>,​Optional<T2>> getter2()
        Returns a getter for the 2nd element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        Returns:
        the element at the 2nd position
      • getOrNull2

        default T2 getOrNull2()
        Returns the 2nd element from this tuple or null if no such element is present.
        Returns:
        the 2nd element from this tuple or null if no such element is present.
      • getterOrNull2

        static <T0,​T1,​T2> TupleGetter2<Tuple3OfNullables<T0,​T1,​T2>,​T2> getterOrNull2()
        Returns a getter for the 2nd element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        Returns:
        the element at the 2nd position