com.vaadin.flow.data.provider.
Interface IdentifierProvider<T>
-
Type Parameters:
T
- the type of the itemAll Superinterfaces:
Function<T,Object>, Serializable, SerializableFunction<T,Object>, ValueProvider<T,Object>
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 IdentifierProvider<T> extends ValueProvider<T,Object>
A callback interface that is used to provide the identifier of an item.
Since:
-
-
Method Summary
All Methods Modifier and Type Method and Description static <T> IdentifierProvider<T>
identity()
Returns an identifier provider that always returns its input argument.
-
Methods inherited from interface com.vaadin.flow.function.ValueProvider
apply
-
-
-
-
Method Detail
-
identity
static <T> IdentifierProvider<T> identity()
Returns an identifier provider that always returns its input argument.
Specified by:
identity
in interfaceFunction<T,Object>
Specified by:
identity
in interfaceSerializableFunction<T,Object>
Specified by:
identity
in interfaceValueProvider<T,Object>
Type Parameters:
T
- the type of the input and output objects to the functionReturns:
a function that always returns its input argument
-
-