Modul speiger.src.collections
Klasse AbstractObjectSet<T>
java.lang.Object
java.util.AbstractCollection<T>
speiger.src.collections.objects.collections.AbstractObjectCollection<T>
speiger.src.collections.objects.sets.AbstractObjectSet<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Iterable<T>,Collection<T>,Set<T>,ObjectCollection<T>,ObjectIterable<T>,ObjectSet<T>,ISizeProvider
- Bekannte direkte Unterklassen:
ImmutableObjectOpenHashSet,ObjectArraySet,ObjectAVLTreeSet,ObjectOpenCustomHashSet,ObjectOpenHashSet,ObjectRBTreeSet
public abstract class AbstractObjectSet<T>
extends AbstractObjectCollection<T>
implements ObjectSet<T>
Abstract Type Specific Set that reduces boxing/unboxing
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungA Helper method that allows to add a element or getting the already present implement.copy()A Function that does a shallow clone of the Collection itself.booleaninthashCode()abstract ObjectIterator<T>iterator()Returns a Type-Specific Iterator to reduce (un)boxingVon Klasse geerbte Methoden speiger.src.collections.objects.collections.AbstractObjectCollection
addAll, containsAll, containsAll, containsAny, containsAny, removeAll, removeAll, retainAll, retainAllVon Klasse geerbte Methoden java.util.AbstractCollection
add, addAll, clear, contains, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, removeIf, streamVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
sizeVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectCollection
addAll, addAll, addAll, addAll, containsAll, containsAny, containsAny, pour, removeAll, removeAll, retainAll, retainAll, spliterator, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectIterable
arrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEachIndexed, limit, map, mapToBoolean, mapToByte, mapToDouble, mapToFloat, mapToInt, mapToLong, mapToShort, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedVon Schnittstelle geerbte Methoden speiger.src.collections.objects.sets.ObjectSet
spliterator, synchronize, synchronize, unmodifiable
-
Konstruktordetails
-
AbstractObjectSet
public AbstractObjectSet()
-
-
Methodendetails
-
addOrGet
Beschreibung aus Schnittstelle kopiert:ObjectSetA Helper method that allows to add a element or getting the already present implement. Allowing to make unique references reuseable. -
iterator
Beschreibung aus Schnittstelle kopiert:ObjectCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<T>- Angegeben von:
iteratorin SchnittstelleIterable<T>- Angegeben von:
iteratorin SchnittstelleObjectCollection<T>- Angegeben von:
iteratorin SchnittstelleObjectIterable<T>- Angegeben von:
iteratorin SchnittstelleObjectSet<T>- Angegeben von:
iteratorin SchnittstelleSet<T>- Angegeben von:
iteratorin KlasseAbstractObjectCollection<T>- Gibt zurück:
- a iterator of the collection
- Siehe auch:
-
copy
Beschreibung aus Schnittstelle kopiert:ObjectCollectionA Function that does a shallow clone of the Collection itself. This function is more optimized then a copy constructor since the Collection does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk- Angegeben von:
copyin SchnittstelleObjectCollection<T>- Angegeben von:
copyin SchnittstelleObjectSet<T>- Setzt außer Kraft:
copyin KlasseAbstractObjectCollection<T>- Gibt zurück:
- a Shallow Copy of the collection
-
hashCode
public int hashCode() -
equals
-