Package org.hawaiiframework.converter
Interface NullListConversionStrategy<T>
- Type Parameters:
T
- The type of the list element that should be returned.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy how to handle
null
values in lists to be converted.-
Method Summary
-
Method Details
-
apply
Applies the strategy and returns the list.The strategy might not always return a list, it could, for instance, throw an exception or simply return
null
.- Returns:
- The, optionally
null
list.
-