public abstract class AbstractObjectCollection<T> extends Object implements IMutableObjectCollection<T>
| Constructor and Description |
|---|
AbstractObjectCollection(List<T> objects) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Iterable<T> objects) |
void |
add(T... objects) |
boolean |
isEmpty() |
IObjectIterator<T> |
iterator() |
void |
remove(Iterable<T> objects) |
void |
remove(T... objects) |
void |
removeAll() |
void |
set(Iterable<T> objects) |
void |
set(T... objects) |
int |
size() |
IStream<T,RuntimeException> |
stream() |
Collection<T> |
toCollection() |
List<T> |
toList() |
IObjectIterable<T> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforeachforEach, spliteratorpublic Collection<T> toCollection()
toCollection in interface IObjectCollection<T>public List<T> toList()
toList in interface IObjectCollection<T>public int size()
size in interface IObjectCollection<T>public void set(T... objects)
set in interface IObjectCollectionReceiver<T>public void set(Iterable<T> objects)
set in interface IObjectCollectionReceiver<T>public void add(T... objects)
add in interface IObjectCollectionReceiver<T>public void add(Iterable<T> objects)
add in interface IObjectCollectionReceiver<T>public void remove(T... objects)
remove in interface IMutableObjectCollection<T>public void remove(Iterable<T> objects)
remove in interface IMutableObjectCollection<T>public void removeAll()
removeAll in interface IMutableObjectCollection<T>public final IObjectIterable<T> values()
values in interface IObjectCollection<T>public final boolean isEmpty()
isEmpty in interface IObjectCollection<T>public IObjectIterator<T> iterator()
public IStream<T,RuntimeException> stream()
stream in interface IObjectCollection<T>Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.