|
|||||||||
| Home >> All >> com >> RuntimeCollective >> [ sitemap overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.sitemap
Class SiteNodeGoLiveDateComparator

java.lang.Objectcom.RuntimeCollective.sitemap.SiteNodeGoLiveDateComparator
- All Implemented Interfaces:
- java.util.Comparator
- public class SiteNodeGoLiveDateComparator
- extends java.lang.Object
- implements java.util.Comparator
- extends java.lang.Object
This is to sort SiteNodes by GoLiveDate. Defaults to ascending order; you can construct one with ascendingOrder = false if you want descending order.
| Field Summary | |
private boolean |
ascendingOrder
|
| Constructor Summary | |
SiteNodeGoLiveDateComparator()
Make a new SiteNodeGoLiveDateComparator, which orders by GoLiveDate in ascending order. |
|
SiteNodeGoLiveDateComparator(boolean ascendingOrder)
Make a new SiteNodeGoLiveDateComparator, which orders by GoLiveDate in ascending order. |
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare the two SiteNodes |
int |
compare(com.RuntimeCollective.sitemap.bean.SiteNode sn1,
com.RuntimeCollective.sitemap.bean.SiteNode sn2)
Compare the two SiteNodes |
boolean |
equals(java.lang.Object obj)
Returns if the given object is equal to this object |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
ascendingOrder
private boolean ascendingOrder
| Constructor Detail |
SiteNodeGoLiveDateComparator
public SiteNodeGoLiveDateComparator()
- Make a new SiteNodeGoLiveDateComparator, which orders by GoLiveDate in ascending order.
SiteNodeGoLiveDateComparator
public SiteNodeGoLiveDateComparator(boolean ascendingOrder)
- Make a new SiteNodeGoLiveDateComparator, which orders by GoLiveDate in ascending order.
| Method Detail |
compare
public int compare(java.lang.Object o1, java.lang.Object o2)
- Compare the two SiteNodes
- Specified by:
comparein interfacejava.util.Comparator
compare
public int compare(com.RuntimeCollective.sitemap.bean.SiteNode sn1, com.RuntimeCollective.sitemap.bean.SiteNode sn2)
- Compare the two SiteNodes
equals
public boolean equals(java.lang.Object obj)
- Returns if the given object is equal to this object
- Specified by:
equalsin interfacejava.util.Comparator
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> [ sitemap overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.RuntimeCollective.sitemap.SiteNodeGoLiveDateComparator