The ObjectList is an immutable ordered collection of
Object.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if this list contains theObject
item.Object whose presence in this list
is to be tested.Redeclares java. Checks if the |
| public int | |
| public Object | Returns: TheObject at the indexth
position in the ObjectList, or null if
the index specified is not valid - greater than or equal to the
number of items in the list or less than zero.index into the collection. index)Returns the |
| contains | back to summary |
|---|---|
| public boolean contains(Object item) Redeclares java. Checks if the
| |
| getLength | back to summary |
|---|---|
| public int getLength() The number of | |
| item | back to summary |
|---|---|
| public Object item(int index) Returns the
| |