|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.actor.util.CalendarQueue.CQCell
private static class CalendarQueue.CQCell
Simplified and specialized linked list cell. This is based on Doug Lea's implementation in collections, but with most of the functionality stripped out.
Field Summary | |
---|---|
java.lang.Object |
contents
The contents of the cell. |
CalendarQueue.CQCell |
next
The next cell in the list, or null if there is none. |
Constructor Summary | |
---|---|
CalendarQueue.CQCell(java.lang.Object contents,
CalendarQueue.CQCell next)
Construct a cell with the specified contents, pointing to the specified next cell. |
Method Summary | |
---|---|
CalendarQueue.CQCell |
find(java.lang.Object element)
Search the list for the specified element (using equals() to identify a match). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object contents
public CalendarQueue.CQCell next
Constructor Detail |
---|
public CalendarQueue.CQCell(java.lang.Object contents, CalendarQueue.CQCell next)
contents
- The contents.next
- The next cell, or null if this is the end of the list.Method Detail |
---|
public final CalendarQueue.CQCell find(java.lang.Object element)
element
- Element to look for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |