Java programmeerimise konspekt
list.
Object remove(int index)
Removes the element at the specified position in
this list (optional operation).
Object set(int index, Object element)
Replaces the element at the specified position in this
list with the specified element (optional operation).
List subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between the
specified fromIndex, inclusive, and toIndex, exclusive.
Näiteks klass ArrayList realiseerib selle liidese. Sisuliselt on Java vanemates
versioonides kasutatav klass Vector samade omadustega.
Kujutis (map) koosneb paaridest "võti - väärtus". Kõige üldisemateks kujutisega
seotud operatsioonideks on:
boolean containsKey(Object key)