T - the keyType of elements maintained by this Collectionpublic interface ObjectSet<T> extends java.util.Set<T>, ObjectCollection<T>
ISizeProvider.CollectionSize| 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.
|
ObjectSet<T> |
copy()
A Function that does a shallow clone of the Collection itself.
|
ObjectIterator<T> |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
default ObjectSplititerator<T> |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
default ObjectSet<T> |
synchronize()
Creates a Wrapped Set that is Synchronized
|
default ObjectSet<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped Set that is Synchronized
|
default ObjectSet<T> |
unmodifiable()
Creates a Wrapped Set that is unmodifiable
|
add, addAll, clear, contains, containsAll, equals, hashCode, 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, sizeObjectIterator<T> iterator()
ObjectCollectioniterator in interface java.util.Collection<T>iterator in interface java.lang.Iterable<T>iterator in interface ObjectCollection<T>iterator in interface ObjectIterable<T>iterator in interface java.util.Set<T>Collection.iterator()ObjectSet<T> copy()
ObjectCollectioncopy in interface ObjectCollection<T>T addOrGet(T o)
o - the element to adddefault ObjectSet<T> synchronize()
synchronize in interface ObjectCollection<T>ObjectSets.synchronize(speiger.src.collections.objects.sets.ObjectSet<T>)default ObjectSet<T> synchronize(java.lang.Object mutex)
synchronize in interface ObjectCollection<T>mutex - is the controller of the synchronization blockObjectSets.synchronize(speiger.src.collections.objects.sets.ObjectSet<T>)default ObjectSet<T> unmodifiable()
unmodifiable in interface ObjectCollection<T>ObjectSets.unmodifiable(speiger.src.collections.objects.sets.ObjectSet<T>)default ObjectSplititerator<T> spliterator()
spliterator in interface java.util.Collection<T>spliterator in interface java.lang.Iterable<T>spliterator in interface ObjectCollection<T>spliterator in interface ObjectIterable<T>spliterator in interface java.util.Set<T>