public enum NewInstanceStrategy extends Enum<NewInstanceStrategy>
| Enum Constant and Description |
|---|
GWT_CREATE |
NEW |
NONE |
X_INSTANCE |
X_SINGLETON |
| Modifier and Type | Method and Description |
|---|---|
static NewInstanceStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewInstanceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewInstanceStrategy NEW
public static final NewInstanceStrategy GWT_CREATE
public static final NewInstanceStrategy X_INSTANCE
public static final NewInstanceStrategy X_SINGLETON
public static final NewInstanceStrategy NONE
public static NewInstanceStrategy[] values()
for (NewInstanceStrategy c : NewInstanceStrategy.values()) System.out.println(c);
public static NewInstanceStrategy 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 nullCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.