Interface Func<T>

Type Parameters:
T - The type of prefab value.
All Known Subinterfaces:
Func.Func1<A,T>, Func.Func2<A,B,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 interface Func<T>
Functional interface for generating prefab values of some generic type T.

For each generic type parameter for T, a value of that type will be supplied in the List parameter of apply(List).

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Functional interface for generating prefab values of a generic type T that has exactly 1 generic parameter A.
    static interface 
    Functional interface for generating prefab values of a generic type T that has exactly 2 generic parameters, A and B.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(List<?> values)
     
  • Method Details

    • apply

      T apply(List<?> values)