Class AbstractCollection
java.lang.Object
java.util.AbstractCollection
- All Implemented Interfaces:
Collection
- Direct Known Subclasses:
AbstractList, AbstractSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection var0) voidclear()booleanbooleancontainsAll(Collection var0) booleanisEmpty()abstract Iteratoriterator()booleanbooleanremoveAll(Collection var0) booleanretainAll(Collection var0) abstract intsize()Object[]toArray()Object[]toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
equals, hashCode
-
Constructor Details
-
AbstractCollection
protected AbstractCollection()
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection
-
addAll
- Specified by:
addAllin interfaceCollection
-
clear
public void clear()- Specified by:
clearin interfaceCollection
-
contains
- Specified by:
containsin interfaceCollection
-
containsAll
- Specified by:
containsAllin interfaceCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection
-
iterator
- Specified by:
iteratorin interfaceCollection
-
remove
- Specified by:
removein interfaceCollection
-
removeAll
- Specified by:
removeAllin interfaceCollection
-
retainAll
- Specified by:
retainAllin interfaceCollection
-
size
public abstract int size()- Specified by:
sizein interfaceCollection
-
toArray
- Specified by:
toArrayin interfaceCollection
-
toArray
- Specified by:
toArrayin interfaceCollection
-
toString
-