|
||||||||||
| 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.TypeOrder
public class TypeOrder
Orders the items in a class according to type.
| Constructor Summary | |
|---|---|
TypeOrder(java.lang.String ordering)
Constructor for the TypeOrder object |
|
| Method Summary | |
|---|---|
protected int |
getIndex(java.lang.Object object)
Return the index of the item in the order array |
| Methods inherited from class org.acm.seguin.pretty.sort.Ordering |
|---|
compare |
| 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 TypeOrder(java.lang.String ordering)
ordering - A user specified string that describes the order| Method Detail |
|---|
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 | |||||||||