Interface BindingSetMapper<T>
- Type Parameters:
T-
- All Superinterfaces:
Function<BindingSet,T>
Maps a query solution to an instance.
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Method Summary
Modifier and TypeMethodDescriptionapply(BindingSet bindings) Maps a query solution to an instance ofT.static BindingSetMapper<BindingSet>identity()
-
Method Details
-
apply
Maps a query solution to an instance ofT. If the return value isnullthe mapper indicates that the solution is to be disregarded.- Specified by:
applyin interfaceFunction<BindingSet,T> - Returns:
- an instance of
Tor null if the solution should be ignored.
-
identity
-