Interface Factory<T>

    • Method Detail

      • newInstance

        T newInstance()
        Create a new instance of type T.
        Returns:
        a new instance of type T
      • instances

        default Stream<Tinstances()
        Return a new stream of object instances, created by this factory.
        Returns:
        a stream of objects, created by this factory
        Since:
        3.0