java.util

Interface Collection<E>

public interface Collection<E>

Method Summary
booleanadd(E o)
<T extends E> booleanaddAll(Collection<T> c)
voidclear()
booleancontains(Object o)
<T> booleancontainsAll(Collection<T> c)
booleanequals(Object o)
inthashCode()
booleanisEmpty()
Iterator<E>iterator()
booleanremove(Object o)
<T> booleanremoveAll(Collection<T> c)
<T> booleanretainAll(Collection<T> c)
intsize()
Object[]toArray()
<T> T[]toArray(T[] a)

Method Detail

add

public boolean add(E o)

addAll

public <T extends E> boolean addAll(Collection<T> c)

clear

public void clear()

contains

public boolean contains(Object o)

containsAll

public <T> boolean containsAll(Collection<T> c)

equals

public boolean equals(Object o)

hashCode

public int hashCode()

isEmpty

public boolean isEmpty()

iterator

public Iterator<E> iterator()

remove

public boolean remove(Object o)

removeAll

public <T> boolean removeAll(Collection<T> c)

retainAll

public <T> boolean retainAll(Collection<T> c)

size

public int size()

toArray

public Object[] toArray()

toArray

public <T> T[] toArray(T[] a)