Module net.anwiba.commons.lang
Class AbstractObjectCollection<T>
java.lang.Object
net.anwiba.commons.lang.collection.AbstractObjectCollection<T>
- All Implemented Interfaces:
Iterable<T>,IMutableObjectCollection<T>,IObjectCollection<T>,IObjectCollectionReceiver<T>,IObjectIterable<T>
- Direct Known Subclasses:
ObjectCollection
public abstract class AbstractObjectCollection<T>
extends Object
implements IMutableObjectCollection<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.anwiba.commons.lang.collection.IObjectIterable
foreachMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractObjectCollection
-
-
Method Details
-
toCollection
- Specified by:
toCollectionin interfaceIObjectCollection<T>
-
toList
- Specified by:
toListin interfaceIObjectCollection<T>
-
size
public int size()- Specified by:
sizein interfaceIObjectCollection<T>
-
set
- Specified by:
setin interfaceIObjectCollectionReceiver<T>
-
set
- Specified by:
setin interfaceIObjectCollectionReceiver<T>
-
add
- Specified by:
addin interfaceIObjectCollectionReceiver<T>
-
add
- Specified by:
addin interfaceIObjectCollectionReceiver<T>
-
remove
- Specified by:
removein interfaceIMutableObjectCollection<T>
-
remove
- Specified by:
removein interfaceIMutableObjectCollection<T>
-
removeAll
public void removeAll()- Specified by:
removeAllin interfaceIMutableObjectCollection<T>
-
values
- Specified by:
valuesin interfaceIObjectCollection<T>
-
isEmpty
public final boolean isEmpty()- Specified by:
isEmptyin interfaceIObjectCollection<T>
-
iterator
-
stream
- Specified by:
streamin interfaceIObjectCollection<T>
-