public class Functional extends Object
| Constructor and Description |
|---|
Functional() |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> UnaryFunction<A,B> |
construct(Class<? extends A> clazz,
Class<? extends B> argumentType)
Given a class and a constructor type, return a unary function which invokes the constructor of that class.
|
public static <A,B> UnaryFunction<A,B> construct(Class<? extends A> clazz, Class<? extends B> argumentType)
A - B - clazz - argumentType - Copyright © 2018. All rights reserved.