We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.data.provider.
Package com.vaadin.flow.data.provider
Interface IdentifierProvider<T>
Type Parameters:
T
- the type of the item
All Superinterfaces:
Function<T,
, Serializable
, SerializableFunction<T,
, ValueProvider<T,
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback interface that is used to provide the identifier of an item.
Since:
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <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 Details
-
identity
Returns an identifier provider that always returns its input argument.
Type Parameters:
T
- the type of the input and output objects to the functionReturns:
a function that always returns its input argument
-