-
- 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 ItemFactory
Factory to create new items.The implementation must always be able to create a new item, but it doesn't not need to support linking with child items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Itemcreate()Create a new item
-
-
-
Method Detail
-
create
Item create()
Create a new item- Returns:
- non-null
-
-