Interface Func.Func1<A,​T>

  • Type Parameters:
    A - The type of T's generic parameter.
    T - The type of prefab value.
    All Superinterfaces:
    Func<T>
    Enclosing interface:
    Func<T>
    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 static interface Func.Func1<A,​T>
    extends Func<T>
    Functional interface for generating prefab values of a generic type T that has exactly 1 generic parameter A.

    A value of Func.Func1 will be supplied in the supply(Object) method.

    • Method Detail

      • apply

        default T apply​(List<?> values)
        Specified by:
        apply in interface Func<A>
      • supply

        T supply​(A a)