public static enum ParIterator.Schedule extends java.lang.Enum<ParIterator.Schedule>
Enum Constant and Description |
---|
DYNAMIC
Elements are distributed amongst threads at run-time using a fixed chunk size.
|
GUIDED
Elements are distributed amongst threads at run-time using a decreasing chunk size.
|
MEMORYAWARE
Similar to STATIC, but with elements resorted by memory location.
|
STATIC
Elements are distributed amongst threads before any iteration begins using a fixed chunk size.
|
Modifier and Type | Method and Description |
---|---|
static ParIterator.Schedule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParIterator.Schedule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParIterator.Schedule DYNAMIC
public static final ParIterator.Schedule GUIDED
public static final ParIterator.Schedule STATIC
public static final ParIterator.Schedule MEMORYAWARE
public static ParIterator.Schedule[] values()
for (ParIterator.Schedule c : ParIterator.Schedule.values()) System.out.println(c);
public static ParIterator.Schedule 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