Class PrimitiveFloatList
- All Implemented Interfaces:
Iterable<Float>
,Collection<Float>
,List<Float>
,RandomAccess
,SequencedCollection<Float>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(float float0) boolean
void
void
forEach
(FloatConsumer floatConsumer) get
(int int0) int
indexOf
(float float0) int
void
replaceAll
(UnaryOperator<Float> unaryOperator) float
set
(int int0, float float1) int
size()
void
sort()
void
sort
(Comparator<? super Float> var1) Object[]
toArray()
<T> T[]
toArray
(T[] objects) Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, subList
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toString
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[] floats)
-
-
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[] objects) - Specified by:
toArray
in interfaceCollection<Float>
- Specified by:
toArray
in interfaceList<Float>
- Overrides:
toArray
in classAbstractCollection<Float>
-
get
-
set
-
set
public float set(int int0, float float1) -
indexOf
-
indexOf
public int indexOf(float float0) -
contains
- Specified by:
contains
in interfaceCollection<Float>
- Specified by:
contains
in interfaceList<Float>
- Overrides:
contains
in classAbstractCollection<Float>
-
contains
public boolean contains(float float0) -
forEach
-
forEach
-
replaceAll
- Specified by:
replaceAll
in interfaceList<Float>
-
sort
-
sort
public void sort()
-