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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(float float1) booleanvoidvoidforEach(FloatConsumer floatConsumer) get(int int1) intindexOf(float float1) intvoidreplaceAll(UnaryOperator unaryOperator) floatset(int int1, float float1) intsize()voidsort()voidsort(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, subListMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
sizein interfaceCollection- Specified by:
sizein interfaceList- Specified by:
sizein classAbstractCollection
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList- Overrides:
toArrayin classAbstractCollection
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList- Overrides:
toArrayin classAbstractCollection
-
get
- Specified by:
getin interfaceList- Specified by:
getin classAbstractList
-
set
-
set
public float set(int int1, float float1) -
indexOf
- Specified by:
indexOfin interfaceList- Overrides:
indexOfin classAbstractList
-
indexOf
public int indexOf(float float1) -
contains
- Specified by:
containsin interfaceCollection- Specified by:
containsin interfaceList- Overrides:
containsin classAbstractCollection
-
contains
public boolean contains(float float1) -
forEach
-
forEach
-
replaceAll
- Specified by:
replaceAllin interfaceList
-
sort
-
sort
public void sort()
-