java.util
Interface List
- All Superinterfaces:
- Collection
- All Known Implementing Classes:
- AbstractList, ArrayList, LinkedList
- public interface List
- extends Collection
size
public int size()
- Specified by:
size
in interface Collection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
contains
public boolean contains(Object)
- Specified by:
contains
in interface Collection
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Collection
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection
toArray
public Object[] toArray(Object[])
- Specified by:
toArray
in interface Collection
add
public boolean add(Object)
- Specified by:
add
in interface Collection
remove
public boolean remove(Object)
- Specified by:
remove
in interface Collection
containsAll
public boolean containsAll(Collection)
- Specified by:
containsAll
in interface Collection
addAll
public boolean addAll(Collection)
- Specified by:
addAll
in interface Collection
addAll
public boolean addAll(int,
Collection)
removeAll
public boolean removeAll(Collection)
- Specified by:
removeAll
in interface Collection
retainAll
public boolean retainAll(Collection)
- Specified by:
retainAll
in interface Collection
clear
public void clear()
- Specified by:
clear
in interface Collection
equals
public boolean equals(Object)
- Specified by:
equals
in interface Collection
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection
- Overrides:
hashCode
in class Object
get
public Object get(int)
set
public Object set(int,
Object)
add
public void add(int,
Object)
remove
public Object remove(int)
indexOf
public int indexOf(Object)
lastIndexOf
public int lastIndexOf(Object)
listIterator
public ListIterator listIterator()
listIterator
public ListIterator listIterator(int)
subList
public List subList(int,
int)