public final class ObjectUtils extends Object
| Constructor and Description |
|---|
ObjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
init(Class<T> clazz,
Object... args)
Instantiate a class for the provided constructor arguments.
|
public static <T> T init(Class<T> clazz, Object... args)
T - The type of the provided class and resulting instance.clazz - The class to instantiateargs - The arguments for the constructor.
The constructor used will be determined from the arguments provided.Copyright © 2017. All rights reserved.