Inherits Collection.
Inherited by ArrayList.
Public Member Functions | |
| add ($e, $index=NULL) | |
| get ($index) | |
| indexOf ($o) | |
| lastIndexOf ($o) | |
| remove ($index) | |
| set ($index, $element) | |
| subList ($fromIndex, $toIndex) | |
Public Member Functions inherited from Collection | |
| add ($element) | |
| addAll ($c) | |
| clear () | |
| contains ($o) | |
| containsAll ($c) | |
| isEmpty () | |
| removeElement ($o) | |
| removeAll ($c) | |
| retainAll ($c) | |
| size () | |
| toArray () | |
indexovana kolekce pomoci celych cisel
| add | ( | $e, | |
$index = NULL |
|||
| ) |
Appends the specified element to the end of this list (optional operation). pokud je nastaven $index Inserts the specified element at the specified position in this list (optional operation). a posune zbytek
| mixed | $e | |
| int | $name | na ktery index se ma pridat |
Implemented in ArrayList.
| get | ( | $index | ) |
vrati prvek na indexu nebo vyvola vyjimku pokud je index mimo pole
| int | $index | intex prvku |
Implemented in ArrayList.
| indexOf | ( | $o | ) |
| type | $o |
Implemented in ArrayList.
| lastIndexOf | ( | $o | ) |
| type | $o |
Implemented in ArrayList.
| remove | ( | $index | ) |
| set | ( | $index, | |
| $element | |||
| ) |
Replaces the element at the specified position in this list with the specified element (optional operation).
Implemented in ArrayList.
| subList | ( | $fromIndex, | |
| $toIndex | |||
| ) |