Module com.speedment.common.tuple
Interface TupleGetter21<T,T21>
-
- Type Parameters:
T- the type of the tuple to get a value fromT21- the type of the element to return
- All Superinterfaces:
Function<T,T21>,TupleGetter<T,T21>
- 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 TupleGetter21<T,T21> extends TupleGetter<T,T21>
Specialization ofTupleGetterthat always returns the 21st element.Generated by com.speedment.sources.pattern.tuple.TupleGetterPattern
- Since:
- 3.1.0
- Author:
- Emil Forslund
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default intindex()Returns the index of the tuple element that this getter returns.
-
-
-
Method Detail
-
index
default int index()
Description copied from interface:TupleGetterReturns the index of the tuple element that this getter returns.- Specified by:
indexin interfaceTupleGetter<T,T21>- Returns:
- the index of the tuple element that this getter returns
-
-