public enum CreateInstanceByDefaultConstructor extends Enum<CreateInstanceByDefaultConstructor>
| Enum Constant and Description |
|---|
INSTANCE
Singleton
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
apply(Class<T> type) |
static CreateInstanceByDefaultConstructor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateInstanceByDefaultConstructor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateInstanceByDefaultConstructor INSTANCE
public static CreateInstanceByDefaultConstructor[] values()
for (CreateInstanceByDefaultConstructor c : CreateInstanceByDefaultConstructor.values()) System.out.println(c);
public static CreateInstanceByDefaultConstructor valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final <T> T apply(Class<T> type)
Copyright © 2003–2018. All rights reserved.