Compoze Software, Inc.

com.compoze.trigger
Class SingleDateList


java.lang.Object

  |

  +--com.compoze.trigger.SingleDateList

All Implemented Interfaces:
IDateList, java.io.Serializable

public class SingleDateList
extends java.lang.Object
implements IDateList, java.io.Serializable

This class is a date list with only a single date.

See Also:
Serialized Form

Constructor Summary
SingleDateList(java.util.Date date)
          Constructor.
 
Method Summary
 java.util.Date getEarliest()
          Get the next earliest date in the date list and advance the reference in the list to the next date.
 java.util.Date peekEarliest()
          Check the next earliest date in the list without advancing to the next date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleDateList


public SingleDateList(java.util.Date date)
Constructor.
Parameters:
date - the single date
Method Detail

getEarliest


public java.util.Date getEarliest()
Get the next earliest date in the date list and advance the reference in the list to the next date.
Specified by:
getEarliest in interface IDateList
Returns:
the next earliest date, or null if there are no more dates

peekEarliest


public java.util.Date peekEarliest()
Check the next earliest date in the list without advancing to the next date.
Specified by:
peekEarliest in interface IDateList
Returns:
the next earliest date, or null if there are no more dates

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.