Class PrimitiveFloatList
- All Implemented Interfaces:
Iterable<Float>
,Collection<Float>
,List<Float>
,RandomAccess
,SequencedCollection<Float>
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(float val) boolean
void
void
forEach
(FloatConsumer action) get
(int index) int
indexOf
(float val) int
void
replaceAll
(UnaryOperator<Float> operator) float
set
(int index, float element) int
size()
void
sort()
void
sort
(Comparator<? super Float> unused) Object[]
toArray()
<T> T[]
toArray
(T[] object) Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, addFirst, addLast, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, retainAll, reversed, spliterator
-
Constructor Details
-
PrimitiveFloatList
public PrimitiveFloatList(float[] float0)
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<Float>
- Specified by:
size
in interfaceList<Float>
- Specified by:
size
in classAbstractCollection<Float>
-
toArray
- Specified by:
toArray
in interfaceCollection<Float>
- Specified by:
toArray
in interfaceList<Float>
- Overrides:
toArray
in classAbstractCollection<Float>
-
toArray
public <T> T[] toArray(T[] object) - Specified by:
toArray
in interfaceCollection<Float>
- Specified by:
toArray
in interfaceList<Float>
- Overrides:
toArray
in classAbstractCollection<Float>
-
get
-
set
-
set
public float set(int index, float element) -
indexOf
-
indexOf
public int indexOf(float val) -
contains
- Specified by:
contains
in interfaceCollection<Float>
- Specified by:
contains
in interfaceList<Float>
- Overrides:
contains
in classAbstractCollection<Float>
-
contains
public boolean contains(float val) -
forEach
-
forEach
-
replaceAll
- Specified by:
replaceAll
in interfaceList<Float>
-
sort
-
sort
public void sort()
-