java.util
Interface Collection<E>
- Type Parameters:
E
- type of the elements
- All Superinterfaces:
- Iterable<E>
- All Known Subinterfaces:
- List<E>
- All Known Implementing Classes:
- ArrayList, MapPathFinder, RangeReadings, SimplePathFinder
public interface Collection<E>
- extends Iterable<E>
- Author:
- Sven Köhler
add
boolean add(E e)
remove
boolean remove(Object o)
addAll
boolean addAll(Collection<? extends E> c)
removeAll
boolean removeAll(Collection<?> c)
retainAll
boolean retainAll(Collection<?> c)
contains
boolean contains(Object o)
containsAll
boolean containsAll(Collection<?> c)
equals
boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
int hashCode()
- Overrides:
hashCode
in class Object
size
int size()
isEmpty
boolean isEmpty()
clear
void clear()
iterator
Iterator<E> iterator()
- Specified by:
iterator
in interface Iterable<E>
toArray
Object[] toArray()
toArray
<T> T[] toArray(T[] a)