Package zombie.util.list
Class PrimitiveFloatList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
zombie.util.list.PrimitiveFloatList
- All Implemented Interfaces:
java.lang.Iterable
,java.util.Collection
,java.util.List
,java.util.RandomAccess
public class PrimitiveFloatList
extends java.util.AbstractList
implements java.util.RandomAccess
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors Constructor Description PrimitiveFloatList(float[] floatArray)
-
Method Summary
Modifier and Type Method Description boolean
contains(float float1)
boolean
contains(java.lang.Object object)
void
forEach(java.util.function.Consumer consumer)
void
forEach(FloatConsumer floatConsumer)
java.lang.Float
get(int int1)
int
indexOf(float float1)
int
indexOf(java.lang.Object object)
void
replaceAll(java.util.function.UnaryOperator unaryOperator)
float
set(int int1, float float1)
java.lang.Float
set(int int1, java.lang.Float Float1)
int
size()
void
sort()
void
sort(java.util.Comparator comparator)
java.lang.Object[]
toArray()
java.lang.Object[]
toArray(java.lang.Object[] objectArray)
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 interfacejava.util.Collection
- Specified by:
size
in interfacejava.util.List
- Specified by:
size
in classjava.util.AbstractCollection
-
toArray
public java.lang.Object[] toArray()- Specified by:
toArray
in interfacejava.util.Collection
- Specified by:
toArray
in interfacejava.util.List
- Overrides:
toArray
in classjava.util.AbstractCollection
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] objectArray)- Specified by:
toArray
in interfacejava.util.Collection
- Specified by:
toArray
in interfacejava.util.List
- Overrides:
toArray
in classjava.util.AbstractCollection
-
get
public java.lang.Float get(int int1)- Specified by:
get
in interfacejava.util.List
- Specified by:
get
in classjava.util.AbstractList
-
set
public java.lang.Float set(int int1, java.lang.Float Float1) -
set
public float set(int int1, float float1) -
indexOf
public int indexOf(java.lang.Object object)- Specified by:
indexOf
in interfacejava.util.List
- Overrides:
indexOf
in classjava.util.AbstractList
-
indexOf
public int indexOf(float float1) -
contains
public boolean contains(java.lang.Object object)- Specified by:
contains
in interfacejava.util.Collection
- Specified by:
contains
in interfacejava.util.List
- Overrides:
contains
in classjava.util.AbstractCollection
-
contains
public boolean contains(float float1) -
forEach
public void forEach(java.util.function.Consumer consumer)- Specified by:
forEach
in interfacejava.lang.Iterable
-
forEach
-
replaceAll
public void replaceAll(java.util.function.UnaryOperator unaryOperator)- Specified by:
replaceAll
in interfacejava.util.List
-
sort
public void sort(java.util.Comparator comparator)- Specified by:
sort
in interfacejava.util.List
-
sort
public void sort()
-