Class DeltaCollectionBase<T, C extends Collection<T>>
java.lang.Object
java.util.AbstractCollection<T>
org.aksw.commons.collection.observable.DeltaCollectionBase<T,C>
- Type Parameters:
T-C-
- All Implemented Interfaces:
Iterable<T>, Collection<T>, DeltaCollection<T>
- Direct Known Subclasses:
ForwardingDeltaCollectionBase
public abstract class DeltaCollectionBase<T, C extends Collection<T>>
extends AbstractCollection<T>
implements DeltaCollection<T>
Abstract base implementation of
DeltaCollection that delegates all mutation
methods to DeltaCollection.delta(Collection, Collection).- Author:
- raven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends T> addedItems) voidclear()booleanbooleanremoveAll(Collection<?> c) Methods inherited from class AbstractCollection
contains, containsAll, isEmpty, iterator, retainAll, size, toArray, toArray, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface DeltaCollection
delta, replace
-
Constructor Details
-
DeltaCollectionBase
public DeltaCollectionBase()
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<T>- Overrides:
addin classAbstractCollection<T>
-
addAll
- Specified by:
addAllin interfaceCollection<T>- Overrides:
addAllin classAbstractCollection<T>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>- Overrides:
clearin classAbstractCollection<T>
-
remove
- Specified by:
removein interfaceCollection<T>- Overrides:
removein classAbstractCollection<T>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>- Overrides:
removeAllin classAbstractCollection<T>
-