|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.comparator.ReverseComparator<E>
public class ReverseComparator<E>
Reverts the result of another Comparator.
Use this for sorting in descending order.
Created: 19.06.2005 18:26:47
| Constructor Summary | |
|---|---|
ReverseComparator()
|
|
ReverseComparator(java.util.Comparator<E> subject)
|
|
| Method Summary | |
|---|---|
int |
compare(E o1,
E o2)
|
| 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 ReverseComparator()
public ReverseComparator(java.util.Comparator<E> subject)
| Method Detail |
|---|
public int compare(E o1,
E o2)
compare in interface java.util.Comparator<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||