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 Collection
boolean isEmpty()
isEmpty
in interface Collection
boolean contains(Object o)
contains
in interface Collection
Iterator iterator()
iterator
in interface Collection
iterator
in interface Iterable
Object[] toArray()
toArray
in interface Collection
Object[] toArray(Object[] a)
toArray
in interface Collection
boolean add(Object o)
add
in interface Collection
boolean remove(Object o)
remove
in interface Collection
boolean containsAll(Collection c)
containsAll
in interface Collection
boolean addAll(Collection c)
addAll
in interface Collection
boolean addAll(int index, Collection c)
boolean removeAll(Collection c)
removeAll
in interface Collection
boolean retainAll(Collection c)
retainAll
in interface Collection
void clear()
clear
in interface Collection
boolean equals(Object o)
equals
in interface Collection
equals
in class Object
int hashCode()
hashCode
in interface Collection
hashCode
in class Object
Object 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–2014 Javolution. All rights reserved.