public enum SelectionCacheType extends Enum<SelectionCacheType>
Enum Constant and Description |
---|
JUST_IN_TIME
Just in time, when the move is created.
|
PHASE
When the phase is started.
|
SOLVER
When the solver is started.
|
STEP
When the step is started.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCached() |
boolean |
isNotCached() |
static SelectionCacheType |
max(SelectionCacheType a,
SelectionCacheType b) |
static SelectionCacheType |
resolve(SelectionCacheType cacheType,
SelectionCacheType minimumCacheType) |
static SelectionCacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionCacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionCacheType JUST_IN_TIME
public static final SelectionCacheType STEP
public static final SelectionCacheType PHASE
public static final SelectionCacheType SOLVER
public static SelectionCacheType[] values()
for (SelectionCacheType c : SelectionCacheType.values()) System.out.println(c);
public static SelectionCacheType 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 static SelectionCacheType resolve(SelectionCacheType cacheType, SelectionCacheType minimumCacheType)
public boolean isCached()
public boolean isNotCached()
public static SelectionCacheType max(SelectionCacheType a, SelectionCacheType b)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.