|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.query.SolutionSorter
public class SolutionSorter
Sorts solutions according to a given list of OrderingConditions.
| Constructor Summary | |
|---|---|
SolutionSorter(java.util.List<OrderingCondition> conditions)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compare(PatternSolution c1,
PatternSolution c2)
Compares two solutions by evaluating the ordering expressions in the context of the two solutions. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public SolutionSorter(java.util.List<OrderingCondition> conditions)
conditions - | Method Detail |
|---|
public int compare(PatternSolution c1,
PatternSolution c2)
compare in interface java.util.Comparator<PatternSolution>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||