|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.trigger.TreeSetTriggerList
This class is a list of sorted triggers
| Constructor Summary | |
TreeSetTriggerList()
Constructor. |
|
| Method Summary | |
long |
add(Trigger trigger)
Adds the trigger to the trigger list. |
Trigger |
find(long lTriggerID)
Finds a trigger by the specified trigger ID. |
Trigger |
getEarliestTrigger()
Gets the earliest trigger in the list. |
boolean |
isEmpty()
Checks if the trigger list is empty. |
boolean |
remove(long lTriggerID)
Removes a trigger from the trigger list by the specified ID. |
boolean |
remove(Trigger trigger)
Removes the trigger from the trigger list. |
int |
size()
Gets the size of the trigger list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeSetTriggerList()
| Method Detail |
public long add(Trigger trigger)
ITriggerListadd in interface ITriggerListcom.compoze.trigger.ITriggerListtrigger - the trigger to addpublic boolean remove(Trigger trigger)
ITriggerListremove in interface ITriggerListcom.compoze.trigger.ITriggerListtrigger - the trigger to removetrue if the trigger was found and removed; false otherwise if not foundpublic boolean remove(long lTriggerID)
ITriggerListremove in interface ITriggerListcom.compoze.trigger.ITriggerListlTriggerID - id of triggertrue if the trigger was found and removed; false otherwise if not foundpublic Trigger find(long lTriggerID)
ITriggerListfind in interface ITriggerListcom.compoze.trigger.ITriggerListlTriggerID - the trigger IDnull if not foundpublic Trigger getEarliestTrigger()
ITriggerListgetEarliestTrigger in interface ITriggerListcom.compoze.trigger.ITriggerListnull if there are no triggers in the listpublic boolean isEmpty()
ITriggerListisEmpty in interface ITriggerListcom.compoze.trigger.ITriggerListtrue if the trigger list is empty; false otherwisepublic int size()
ITriggerListsize in interface ITriggerListcom.compoze.trigger.ITriggerList
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||