TimeListpublic interface TimeList 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. |
Methods Summary |
---|
public int | getLength()The number of times in the list. The range of valid child time indices
is 0 to length-1 inclusive.
| public Time | item(int index)Returns the index th item in the collection. If
index is greater than or equal to the number of times in
the list, this returns null .
|
|