public abstract class AbstractFloatList extends AbstractFloatCollection implements FloatList
FloatList interface.| Constructor and Description |
|---|
AbstractFloatList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(float e)
A Type-Specific implementation of add function that delegates to
FloatList.add(int, float) |
void |
add(int index,
java.lang.Float element)
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.
|
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.
it is highly suggested not to use this with Primitives because of boxing. But it is still supported because of ObjectComparason that are custom objects and allow to find the contents.
|
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.
it is highly suggested not to use this with Primitives because of boxing. But it is still supported because of ObjectComparason that are custom objects and allow to find the contents.
|
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
|
add, addAll, contains, contains, containsAll, containsAny, containsAny, remFloat, remove, removeAll, retainAll, toFloatArray, toFloatArrayclear, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringadd, add, addAll, addAll, addElements, addElements, addElements, contains, extractElements, get, getElements, getElements, getFloat, remove, remove, removeElements, removeFloat, replaceAll, replaceFloats, set, set, sort, sort, spliterator, unstableSort, unstableSortcontains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remFloat, remIf, removeAll, removeIf, retainAll, toFloatArray, toFloatArrayforEach, forEachpublic boolean add(float e)
FloatList.add(int, float)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 int indexOf(java.lang.Object o)
@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 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)
FloatList