Interface ParentItemProvider<T>
public interface ParentItemProvider<T>
A functional interface, that allows an object based on a different item.
- Author:
- Stefan Uebe
-
Method Summary
-
Method Details
-
getParent
Returns the parent for a given item. If there is no parent item for the given one, the method should return an empty optional.- Returns:
- optional parent instance
-