| Modifier and Type | Field and Description |
|---|---|
| protected List |
| Modifier and Type | Method and Description |
|---|---|
| public Object | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public Iterator | iterator()
Overrides java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| public String | toString()
Overrides java. |
| elements | back to summary |
|---|---|
| protected List<E> elements | |
| Cat | back to summary |
|---|---|
| public Cat(List<E> attributes) | |
| get | back to summary |
|---|---|
| public Object get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| iterator | back to summary |
|---|---|
| public Iterator Overrides java. Implements java. Doc from java. Returns an iterator over the elements in this list in proper sequence.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of this collection. The string
representation consists of a list of the collection's elements in the
order they are returned by its iterator, enclosed in square brackets
(
| |