|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.market.matching.AscendingShoutComparator
public class AscendingShoutComparator
This class can be used to as a Comparator to rank shouts in ascending order.
| Constructor Summary | |
|---|---|
AscendingShoutComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(Shout shout1,
Shout shout2)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public AscendingShoutComparator()
| Method Detail |
|---|
public int compare(Shout shout1,
Shout shout2)
compare in interface java.util.Comparator<Shout>public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||