public enum EntitySorterManner extends Enum<EntitySorterManner>
PlanningEntity instances.| Enum Constant and Description |
|---|
DECREASING_DIFFICULTY |
DECREASING_DIFFICULTY_IF_AVAILABLE |
NONE |
| Modifier and Type | Method and Description |
|---|---|
SelectionSorter |
determineSorter(EntityDescriptor entityDescriptor) |
boolean |
hasSorter(EntityDescriptor entityDescriptor) |
static EntitySorterManner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntitySorterManner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntitySorterManner NONE
public static final EntitySorterManner DECREASING_DIFFICULTY
public static final EntitySorterManner DECREASING_DIFFICULTY_IF_AVAILABLE
public static EntitySorterManner[] values()
for (EntitySorterManner c : EntitySorterManner.values()) System.out.println(c);
public static EntitySorterManner 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 boolean hasSorter(EntityDescriptor entityDescriptor)
public SelectionSorter determineSorter(EntityDescriptor entityDescriptor)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.