public interface List extends Collection
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
boolean |
addAll(int index,
Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object o) |
Object |
get(int index) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int index) |
Object |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
Object |
set(int index,
Object element) |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
int size()
size in interface Collectionboolean isEmpty()
isEmpty in interface Collectionboolean contains(Object o)
contains in interface CollectionIterator iterator()
iterator in interface Collectioniterator in interface IterableObject[] toArray()
toArray in interface CollectionObject[] toArray(Object[] a)
toArray in interface Collectionboolean add(Object o)
add in interface Collectionboolean remove(Object o)
remove in interface Collectionboolean containsAll(Collection c)
containsAll in interface Collectionboolean addAll(Collection c)
addAll in interface Collectionboolean addAll(int index,
Collection c)
boolean removeAll(Collection c)
removeAll in interface Collectionboolean retainAll(Collection c)
retainAll in interface Collectionvoid clear()
clear in interface Collectionboolean equals(Object o)
equals in interface Collectionequals in class Objectint hashCode()
hashCode in interface CollectionhashCode in class ObjectObject get(int index)
void add(int index,
Object element)
Object remove(int index)
int indexOf(Object o)
int lastIndexOf(Object o)
ListIterator listIterator()
ListIterator listIterator(int index)
List subList(int fromIndex, int toIndex)
Copyright © 2005–2024 Javolution. All rights reserved.