Package org.core.collection
Class AbstractWrappedCollection<T>
java.lang.Object
org.core.collection.AbstractWrappedCollection<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,WrappedCollection<T>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractWrappedCollection(Collection<T> values)
AbstractWrappedCollection(T... values)
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
toArray
Methods inherited from interface org.core.collection.WrappedCollection
add, addAll, addAll, addAll, cast, clear, contains, contains, containsAll, forEach, isEmpty, iterator, map, parallelStream, remove, removeAll, removeAll, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
-
Field Details
-
values
-
-
Constructor Details
-
AbstractWrappedCollection
-
AbstractWrappedCollection
-
-
Method Details
-
equals
- Specified by:
equals
in interfaceCollection<T>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<T>
- Overrides:
hashCode
in classObject
-
getWrappedCollection
- Specified by:
getWrappedCollection
in interfaceWrappedCollection<T>
-