Interface TupleGetter23<T,​T23>

  • Type Parameters:
    T - the type of the tuple to get a value from
    T23 - the type of the element to return
    All Superinterfaces:
    Function<T,​T23>, TupleGetter<T,​T23>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface TupleGetter23<T,​T23>
    extends TupleGetter<T,​T23>
    Specialization of TupleGetter that always returns the 23rd element.

    Generated by com.speedment.sources.pattern.tuple.TupleGetterPattern

    Since:
    3.1.0
    Author:
    Emil Forslund
    • Method Detail

      • index

        default int index()
        Description copied from interface: TupleGetter
        Returns the index of the tuple element that this getter returns.
        Specified by:
        index in interface TupleGetter<T,​T23>
        Returns:
        the index of the tuple element that this getter returns