public enum StrategyModel extends Enum<StrategyModel>
| Enum Constant and Description |
|---|
LOCAL_STRATEGY |
NETWORK_TOPOLOGY_STRATEGY |
SIMPLE_STRATEGY |
| Modifier and Type | Method and Description |
|---|---|
static StrategyModel |
fromValue(String v) |
String |
toString() |
String |
value() |
static StrategyModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StrategyModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrategyModel LOCAL_STRATEGY
public static final StrategyModel NETWORK_TOPOLOGY_STRATEGY
public static final StrategyModel SIMPLE_STRATEGY
public static StrategyModel[] values()
for (StrategyModel c : StrategyModel.values()) System.out.println(c);
public static StrategyModel 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 String value()
public static StrategyModel fromValue(String v)
public String toString()
toString in class Enum<StrategyModel>Copyright © 2016. All rights reserved.