public class WhatsNewComparator extends Object implements Comparator<IWhatsNew>, Serializable
| Constructor and Description |
|---|
WhatsNewComparator(int nOrder,
boolean bIsAscSort)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IWhatsNew w1,
IWhatsNew w2)
Compare two WhatsNew
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic WhatsNewComparator(int nOrder,
boolean bIsAscSort)
nOrder - orderbIsAscSort - true if it is sorted asc, false otherwisepublic int compare(IWhatsNew w1, IWhatsNew w2)
compare in interface Comparator<IWhatsNew>w1 - WhatsNew 1w2 - WhatsNew 2Copyright © 2015 City of Paris. All rights reserved.