public static enum BaseTSet.StateType extends java.lang.Enum<BaseTSet.StateType>
Enum Constant and Description |
---|
DISTRIBUTED
Distributed state is when each task has only access to a subset of the whole data
for example if the data set has N points and T tasks each task will access N/T points
|
LOCAL
Local state which is updated and maintained by each parallel task
|
REPLICATED
Replicated state is state that is made available as a whole to each task
|
Modifier and Type | Method and Description |
---|---|
static BaseTSet.StateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseTSet.StateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseTSet.StateType LOCAL
public static final BaseTSet.StateType DISTRIBUTED
public static final BaseTSet.StateType REPLICATED
public static BaseTSet.StateType[] values()
for (BaseTSet.StateType c : BaseTSet.StateType.values()) System.out.println(c);
public static BaseTSet.StateType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null