Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.planner.core.domain.entity
Class PlanningEntitySorter

    java.lang.Object
      org.drools.planner.core.domain.entity.PlanningEntitySorter

    public class PlanningEntitySorter

extends Object

Helper class for `PlanningEntityDifficultyWeightFactory`.

See Also:
  `PlanningEntityDifficultyWeightFactory`

Constructor Summary
`PlanningEntitySorter()`

Method Summary
`boolean` | `isSortDifficultySupported()`
`void` | `setDifficultyComparator(Comparator<Object> difficultyComparator)`
`void` | `setDifficultyWeightFactory(PlanningEntityDifficultyWeightFactory difficultyWeightFactory)`
`void` | `sortDifficultyAscending(Solution solution, List<Object> planningEntityList)`
`void` | `sortDifficultyDescending(Solution solution, List<Object> planningEntityList)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PlanningEntitySorter

    public PlanningEntitySorter()

Method Detail

### setDifficultyComparator

    public void setDifficultyComparator(Comparator<Object> difficultyComparator)

### setDifficultyWeightFactory

    public void setDifficultyWeightFactory(PlanningEntityDifficultyWeightFactory difficultyWeightFactory)

### isSortDifficultySupported

    public boolean isSortDifficultySupported()

### sortDifficultyAscending

    public void sortDifficultyAscending(Solution solution,
                                        List<Object> planningEntityList)

### sortDifficultyDescending

    public void sortDifficultyDescending(Solution solution,
                                         List<Object> planningEntityList)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.