Interface ItemFactory

  • 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 Detail

      • create

        Item create​()
        Create a new item
        Returns:
        non-null