T - the type of elements maintained by this Collectionpublic interface ObjectCollection<T> extends java.util.Collection<T>, ObjectIterable<T>
Collection that reduces (un)boxing| Modifier and Type | Method and Description |
|---|---|
boolean |
addAll(ObjectCollection<T> c)
A Type-Specific addAll function to reduce (un)boxing
|
boolean |
containsAll(ObjectCollection<T> c)
A Type-Specific containsAll function to reduce (un)boxing
|
boolean |
containsAny(java.util.Collection<?> c)
Returns true if any element of the Collection is found in the provided collection.
|
boolean |
containsAny(ObjectCollection<T> c)
A Type-Specific containsAny function to reduce (un)boxing
|
ObjectIterator<T> |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
boolean |
removeAll(ObjectCollection<T> c)
A Type-Specific removeAll function that reduces (un)boxing.
|
boolean |
retainAll(ObjectCollection<T> c)
A Type-Specific retainAll function that reduces (un)boxing.
|
default ObjectSplititerator<T> |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
boolean addAll(ObjectCollection<T> c)
c - the collection of elements that should be addedboolean containsAll(ObjectCollection<T> c)
c - the collection of elements that should be tested forboolean containsAny(ObjectCollection<T> c)
c - the collection of elements that should be tested forboolean containsAny(java.util.Collection<?> c)
c - the collection of elements that should be tested forboolean removeAll(ObjectCollection<T> c)
c - the collection of elements that should be removedCollection.removeAll(Collection)boolean retainAll(ObjectCollection<T> c)
c - the collection of elements that should be keptCollection.retainAll(Collection)ObjectIterator<T> iterator()
iterator in interface java.util.Collection<T>iterator in interface java.lang.Iterable<T>iterator in interface ObjectIterable<T>Collection.iterator()default ObjectSplititerator<T> spliterator()
spliterator in interface java.util.Collection<T>spliterator in interface java.lang.Iterable<T>spliterator in interface ObjectIterable<T>