T - the keyType of elements maintained by this Collectionpublic abstract class AbstractObjectSet<T> extends AbstractObjectCollection<T> implements ObjectSet<T>
ISizeProvider.CollectionSize| Constructor and Description |
|---|
AbstractObjectSet() |
| Modifier and Type | Method and Description |
|---|---|
T |
addOrGet(T o)
A Helper method that allows to add a element or getting the already present implement.
|
AbstractObjectSet<T> |
copy()
A Function that does a shallow clone of the Collection itself.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
abstract ObjectIterator<T> |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
addAll, containsAll, containsAll, containsAny, containsAny, removeAll, removeAll, retainAll, retainAlladd, addAll, clear, contains, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringspliterator, synchronize, synchronize, unmodifiableadd, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayaddAll, addAll, addAll, addAll, containsAll, containsAny, containsAny, pour, removeAll, removeAll, retainAll, retainAll, toArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedof, sizepublic T addOrGet(T o)
ObjectSetpublic abstract ObjectIterator<T> iterator()
ObjectCollectioniterator in interface java.lang.Iterable<T>iterator in interface java.util.Collection<T>iterator in interface java.util.Set<T>iterator in interface ObjectCollection<T>iterator in interface ObjectIterable<T>iterator in interface ObjectSet<T>iterator in class AbstractObjectCollection<T>Collection.iterator()public AbstractObjectSet<T> copy()
ObjectCollectioncopy in interface ObjectCollection<T>copy in interface ObjectSet<T>copy in class AbstractObjectCollection<T>public int hashCode()