|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.pretty.sort.MultipleOrdering
public class MultipleOrdering
Stores a number of orderings together and produce a single order from them
Constructor Summary | |
---|---|
MultipleOrdering(Settings settings)
Constructor for the MultipleOrdering object |
|
MultipleOrdering(java.lang.String[] order)
Constructor for testing purposes. |
Method Summary | |
---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public MultipleOrdering(Settings settings)
settings
- Description of Parameterpublic MultipleOrdering(java.lang.String[] order)
order
- Description of ParameterMethod Detail |
---|
public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface java.util.Comparator
obj1
- Description of Parameterobj2
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |