|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cuny.cat.market.matching.DescendingShoutComparator
public class DescendingShoutComparator
A comparator that can be used for arranging shouts in descending order; that is, highest price first.
Constructor Summary | |
---|---|
DescendingShoutComparator()
|
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 DescendingShoutComparator()
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 |