public abstract class AbstractFloatList extends AbstractFloatCollection implements FloatList
FloatList interface.ISizeProvider.CollectionSize| Constructor and Description |
|---|
AbstractFloatList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(float e)
A Type-Specific implementation of add function that delegates to
List.add(int, Object) |
void |
add(int index,
java.lang.Float element)
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 implementation that iterates over the elements and adds them.
|
boolean |
addAll(FloatList c)
A Type-Specific implementation that iterates over the elements and adds them.
|
AbstractFloatList |
copy()
A Function that does a shallow clone of the Collection itself.
|
boolean |
equals(java.lang.Object o)
Compares if the list are the same.
|
int |
hashCode()
Generates the hashcode based on the values stored in the list.
|
int |
indexOf(float e)
The indexOf implementation iterates over all elements and compares them to the search value.
|
int |
indexOf(java.lang.Object o)
Deprecated.
|
FloatIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
int |
lastIndexOf(float e)
The lastIndexOf implementation iterates over all elements and compares them to the search value.
|
int |
lastIndexOf(java.lang.Object o)
Deprecated.
|
FloatListIterator |
listIterator()
A Type-Specific Iterator of listIterator
|
FloatListIterator |
listIterator(int index)
A Type-Specific Iterator of listIterator
|
void |
size(int size)
A function to ensure the elements are within the requested size.
|
FloatList |
subList(int fromIndex,
int toIndex)
A Type-Specific List of subList
|
boolean |
swapRemoveFloat(float e)
A Highly Optimized remove function that removes the desired element.
|
add, contains, contains, containsAll, containsAll, containsAny, containsAny, remFloat, remove, removeAll, removeAll, retainAll, retainAll, toFloatArray, toFloatArrayclear, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringadd, add, addAll, addAll, addElements, addElements, addElements, addIfAbsent, addIfPresent, contains, extractElements, fillBuffer, forEachIndexed, get, getElements, getElements, getFloat, remove, remove, removeElements, removeFloat, replaceAll, replaceFloats, set, set, sort, sort, spliterator, swapRemove, synchronize, synchronize, unmodifiable, unstableSort, unstableSortaddAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remFloat, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toFloatArray, toFloatArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedof, sizepublic boolean add(float e)
List.add(int, Object)add in interface FloatCollectionadd in interface FloatListe - the element to addList.add(Object)@Deprecated
public void add(int index,
java.lang.Float element)
This default implementation delegates to the corresponding type-specific function.
add in interface java.util.List<java.lang.Float>public boolean addAll(FloatCollection c)
addAll in interface FloatCollectionaddAll in class AbstractFloatCollectionc - the elements that wants to be addedpublic boolean addAll(FloatList c)
@Deprecated public boolean addAll(java.util.Collection<? extends java.lang.Float> c)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
addAll in interface java.util.Collection<java.lang.Float>addAll in interface java.util.List<java.lang.Float>addAll in class AbstractFloatCollection@Deprecated public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<java.lang.Float>indexOf in interface FloatListo - the value that the index is searched for.@Deprecated public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<java.lang.Float>lastIndexOf in interface FloatListo - the value that the index is searched for.public int indexOf(float e)
public int lastIndexOf(float e)
lastIndexOf in interface FloatListe - the value that the index is searched for.public boolean swapRemoveFloat(float e)
FloatListswapRemoveFloat in interface FloatListe - the element that should be removedpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Float>equals in interface java.util.List<java.lang.Float>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Float>hashCode in interface java.util.List<java.lang.Float>hashCode in class java.lang.Objectpublic FloatList subList(int fromIndex, int toIndex)
FloatListpublic FloatIterator iterator()
FloatCollectioniterator in interface java.lang.Iterable<java.lang.Float>iterator in interface java.util.Collection<java.lang.Float>iterator in interface java.util.List<java.lang.Float>iterator in interface FloatCollectioniterator in interface FloatIterableiterator in class AbstractFloatCollectionCollection.iterator()public FloatListIterator listIterator()
FloatListlistIterator in interface java.util.List<java.lang.Float>listIterator in interface FloatListList.listIterator()public FloatListIterator listIterator(int index)
FloatListlistIterator in interface java.util.List<java.lang.Float>listIterator in interface FloatListList.listIterator(int)public void size(int size)
FloatListpublic AbstractFloatList copy()
FloatCollectioncopy in interface FloatCollectioncopy in interface FloatListcopy in class AbstractFloatCollection