|
||||||||||
| 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.FieldInitializerOrder
public class FieldInitializerOrder
The ordering is the basic tool to determine if the parse tree node is in the proper order. This object contains the base class for the order.
| Constructor Summary | |
|---|---|
FieldInitializerOrder()
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object one,
java.lang.Object two)
Compare two items |
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 FieldInitializerOrder()
| Method Detail |
|---|
public int compare(java.lang.Object one,
java.lang.Object two)
compare in interface java.util.Comparatorcompare in class Orderingone - the first itemtwo - the second item
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 | |||||||||