org.inria.myriads.snoozenode.groupmanager.leaderpolicies.enums
public enum Dispatching extends Enum<Dispatching>
Enum Constant and Description |
---|
FirstFit
First-fit.
|
RoundRobin
Round Robin.
|
Modifier and Type | Method and Description |
---|---|
static Dispatching |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dispatching[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dispatching FirstFit
public static final Dispatching RoundRobin
public static Dispatching[] values()
for (Dispatching c : Dispatching.values()) System.out.println(c);
public static Dispatching 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 © 2013. All Rights Reserved.