Package zombie.util.list
Class PrimitiveFloatList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
zombie.util.list.PrimitiveFloatList
- All Implemented Interfaces:
Iterable
,Collection
,List
,RandomAccess
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(float float1) boolean
void
void
forEach
(FloatConsumer floatConsumer) get
(int int1) int
indexOf
(float float1) int
void
replaceAll
(UnaryOperator unaryOperator) float
set
(int int1, float float1) int
size()
void
sort()
void
sort
(Comparator comparator) Object[]
toArray()
Object[]
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, 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, containsAll, isEmpty, remove, removeAll, retainAll, spliterator
-
Constructor Details
-
PrimitiveFloatList
public PrimitiveFloatList(float[] floatArray)
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceList
- Specified by:
size
in classAbstractCollection
-
toArray
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceList
- Overrides:
toArray
in classAbstractCollection
-
toArray
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceList
- Overrides:
toArray
in classAbstractCollection
-
get
- Specified by:
get
in interfaceList
- Specified by:
get
in classAbstractList
-
set
-
set
public float set(int int1, float float1) -
indexOf
- Specified by:
indexOf
in interfaceList
- Overrides:
indexOf
in classAbstractList
-
indexOf
public int indexOf(float float1) -
contains
- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceList
- Overrides:
contains
in classAbstractCollection
-
contains
public boolean contains(float float1) -
forEach
-
forEach
-
replaceAll
- Specified by:
replaceAll
in interfaceList
-
sort
-
sort
public void sort()
-