com.compoze.trigger
Interface IDateList
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- SingleDateList, AdjustedDateList, IteratorDateList
- public interface IDateList
- extends java.io.Serializable
Classes that implement this interface are capable of providing a sorted
list of dates (soonest to furthest away).
Method Summary |
java.util.Date |
getEarliest()
Gets the next earliest date in the date list and advance the reference in
the list to the next date. |
java.util.Date |
peekEarliest()
Checks the next earliest date in the list without advancing to the next date. |
getEarliest
public java.util.Date getEarliest()
- Gets the next earliest date in the date list and advance the reference in
the list to the next date.
- Returns:
- the next earliest date or
null
if there are no more dates
peekEarliest
public java.util.Date peekEarliest()
- Checks the next earliest date in the list without advancing to the next date.
- Returns:
- the next earliest date or
null
if there are no more dates
Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.