Class PrimitiveFloatList
- All Implemented Interfaces:
Iterable<Float>,Collection<Float>,List<Float>,RandomAccess,SequencedCollection<Float>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(float float0) booleanvoidvoidforEach(FloatConsumer floatConsumer) get(int int0) intindexOf(float float0) intvoidreplaceAll(UnaryOperator<Float> unaryOperator) floatset(int int0, float float1) intsize()voidsort()voidsort(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, subListMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
sizein interfaceCollection<Float>- Specified by:
sizein interfaceList<Float>- Specified by:
sizein classAbstractCollection<Float>
-
toArray
- Specified by:
toArrayin interfaceCollection<Float>- Specified by:
toArrayin interfaceList<Float>- Overrides:
toArrayin classAbstractCollection<Float>
-
toArray
public <T> T[] toArray(T[] objects) - Specified by:
toArrayin interfaceCollection<Float>- Specified by:
toArrayin interfaceList<Float>- Overrides:
toArrayin classAbstractCollection<Float>
-
get
-
set
-
set
public float set(int int0, float float1) -
indexOf
-
indexOf
public int indexOf(float float0) -
contains
- Specified by:
containsin interfaceCollection<Float>- Specified by:
containsin interfaceList<Float>- Overrides:
containsin classAbstractCollection<Float>
-
contains
public boolean contains(float float0) -
forEach
-
forEach
-
replaceAll
- Specified by:
replaceAllin interfaceList<Float>
-
sort
-
sort
public void sort()
-