|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.pretty.sort.Ordering
org.acm.seguin.pretty.sort.TopLevelOrdering
public class TopLevelOrdering
Sorts the items in a java file at the top level
| Constructor Summary | |
|---|---|
TopLevelOrdering(net.sourceforge.jrefactory.ast.ASTCompilationUnit node,
PrintData data)
Constructor for the TopLevelOrdering object |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object one,
java.lang.Object two)
Description of the Method |
protected int |
getIndex(java.lang.Object object)
Return the index of the item in the order array |
| 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 TopLevelOrdering(net.sourceforge.jrefactory.ast.ASTCompilationUnit node,
PrintData data)
node - Description of the Parameterdata - Description of the Parameter| Method Detail |
|---|
public int compare(java.lang.Object one,
java.lang.Object two)
compare in interface java.util.Comparatorcompare in class Orderingone - Description of the Parametertwo - Description of the Parameter
protected int getIndex(java.lang.Object object)
getIndex in class Orderingobject - the object we are checking
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||