|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The TimeList interface provides the abstraction of an ordered
collection of times, without defining or constraining how this collection
is implemented.
The items in the TimeList are accessible via an integral
index, starting from 0.
| Method Summary | |
int |
getLength()
The number of times in the list. |
Time |
getTimeGreaterThan(Time time)
Get the next time greater than time. |
boolean |
isDefined()
If this list has time instances - then the parameter was defined. |
Time |
item(int index)
Returns the index th item in the collection. |
| Method Detail |
public Time item(int index)
index th item in the collection. If
index is greater than or equal to the number of times in
the list, this returns null .
index - Index into the collection.
index th position in the
TimeList , or null if that is not a valid
index.public int getLength()
length-1 inclusive.
public Time getTimeGreaterThan(Time time)
time - Time to compare against
public boolean isDefined()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||