|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.persistence.DateTimeComparator
public class DateTimeComparator
A comparator class that iplements a date/time comparison for PersistentMessage
| Constructor Summary | |
|---|---|
DateTimeComparator()
Default constructor does nothing. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Implements the compare operator. |
boolean |
equals(java.lang.Object ob)
Indicates whether some other object is "equal to" this Comparator. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimeComparator()
| Method Detail |
|---|
public int compare(java.lang.Object o1,
java.lang.Object o2)
throws java.lang.ClassCastException
compare in interface java.util.ComparatorObject - object 1 to compareObject - object 2 ro compare to.
java.lang.ClassCastException - if object types are unknownpublic boolean equals(java.lang.Object ob)
equals in interface java.util.Comparatorequals in class java.lang.ObjectObject - the object to compare to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||