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

Method Summary
 boolean add(E e)
           
 boolean addAll(Collection<? extends E> c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isEmpty()
           
 Iterator<E> iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 int size()
           
 Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 

Method Detail

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)