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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractWrappedCollection(Collection<T> values)AbstractWrappedCollection(T... values) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
toArrayMethods 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:
equalsin interfaceCollection<T>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<T>- Overrides:
hashCodein classObject
-
getWrappedCollection
- Specified by:
getWrappedCollectionin interfaceWrappedCollection<T>
-