public abstract class AbstractFloatCollection extends java.util.AbstractCollection<java.lang.Float> implements FloatCollection
ISizeProvider.CollectionSize| Constructor and Description |
|---|
AbstractFloatCollection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Float e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
addAll(java.util.Collection<? extends java.lang.Float> c)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
addAll(FloatCollection c)
A Type-Specific addAll function to reduce (un)boxing
|
boolean |
contains(float e)
A Type-Specific implementation of contains.
|
boolean |
contains(java.lang.Object e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
containsAll(FloatCollection c)
A Type-Specific implementation of containsAll.
|
boolean |
containsAny(java.util.Collection<?> c)
Deprecated.
|
boolean |
containsAny(FloatCollection c)
This implementation iterates over the elements of the collection and checks if they are stored in this collection.
|
FloatCollection |
copy()
A Function that does a shallow clone of the Collection itself.
|
abstract FloatIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
boolean |
remFloat(float e)
A Type-Specific implementation of remove.
|
boolean |
remove(java.lang.Object e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
removeAll(FloatCollection c)
A Type-Specific implementation of removeAll.
|
boolean |
removeAll(FloatCollection c,
FloatConsumer r)
A Type-Specific removeAll function that reduces (un)boxing.
|
boolean |
retainAll(FloatCollection c)
A Type-Specific implementation of retainAll.
|
boolean |
retainAll(FloatCollection c,
FloatConsumer r)
A Type-Specific retainAll function that reduces (un)boxing.
|
float[] |
toFloatArray()
A Type-Specific implementation of toArray that links to
toFloatArray(float[]) with a newly created array. |
float[] |
toFloatArray(float[] a)
A Type-Specific implementation of toArray.
|
clear, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, addAll, addAll, addAll, parallelPrimitiveStream, pour, primitiveStream, remIf, removeIf, spliterator, synchronize, synchronize, unmodifiableclear, equals, hashCode, isEmpty, parallelStream, removeAll, retainAll, size, stream, toArray, toArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedof, sizepublic abstract FloatIterator iterator()
FloatCollectioniterator in interface java.lang.Iterable<java.lang.Float>iterator in interface java.util.Collection<java.lang.Float>iterator in interface FloatCollectioniterator in interface FloatIterableiterator in class java.util.AbstractCollection<java.lang.Float>Collection.iterator()@Deprecated public boolean add(java.lang.Float e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
add in interface java.util.Collection<java.lang.Float>add in interface FloatCollectionadd in class java.util.AbstractCollection<java.lang.Float>public boolean addAll(FloatCollection c)
FloatCollectionaddAll in interface FloatCollectionc - the collection of elements that should be addedpublic FloatCollection copy()
FloatCollectioncopy in interface FloatCollection@Deprecated public boolean contains(java.lang.Object e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
contains in interface java.util.Collection<java.lang.Float>contains in interface FloatCollectioncontains in class java.util.AbstractCollection<java.lang.Float>public boolean contains(float e)
contains in interface FloatCollectione - the element that should be searched for.@Deprecated public boolean addAll(java.util.Collection<? extends java.lang.Float> c)
This default implementation delegates to the corresponding type-specific function.
addAll in interface java.util.Collection<java.lang.Float>addAll in class java.util.AbstractCollection<java.lang.Float>public boolean containsAll(FloatCollection c)
containsAll in interface FloatCollectionc - the collection that should be checked if it contains all elements.java.lang.NullPointerException - if the collection is nullpublic boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<java.lang.Float>containsAll in class java.util.AbstractCollection<java.lang.Float>@Deprecated public boolean containsAny(java.util.Collection<?> c)
containsAny in interface FloatCollectionc - the elements that should be checked forjava.lang.NullPointerException - if the collection is nullpublic boolean containsAny(FloatCollection c)
containsAny in interface FloatCollectionc - the elements that should be checked forjava.lang.NullPointerException - if the collection is null@Deprecated public boolean remove(java.lang.Object e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
remove in interface java.util.Collection<java.lang.Float>remove in interface FloatCollectionremove in class java.util.AbstractCollection<java.lang.Float>public boolean remFloat(float e)
remFloat in interface FloatCollectione - the element that is searched forCollection.remove(Object)public boolean removeAll(FloatCollection c)
removeAll in interface FloatCollectionc - the elements that should be deletedjava.lang.NullPointerException - if the collection is nullCollection.removeAll(Collection)public boolean removeAll(FloatCollection c, FloatConsumer r)
FloatCollectionremoveAll in interface FloatCollectionc - the collection of elements that should be removedr - elements that got removedCollection.removeAll(Collection)public boolean retainAll(FloatCollection c)
retainAll in interface FloatCollectionc - the elements that should be keptjava.lang.NullPointerException - if the collection is nullCollection.retainAll(Collection)public boolean retainAll(FloatCollection c, FloatConsumer r)
FloatCollectionretainAll in interface FloatCollectionc - the collection of elements that should be keptr - elements that got removedCollection.retainAll(Collection)public float[] toFloatArray()
toFloatArray(float[]) with a newly created array.toFloatArray in interface FloatCollectiontoFloatArray in interface FloatIterableCollection.toArray()public float[] toFloatArray(float[] a)
toFloatArray in interface FloatCollectiona - array that the elements should be injected to. If null or to small a new array with the right size is createdCollection.toArray(Object[])