Uses of Class
org.magicwerk.brownies.collections.primitive.IFloatList
Packages that use IFloatList
Package
Description
This packages contains helper classes for the package org.magicwerk.brownies.collections.primitive:
- binary search for primitive arrays
- merge sort for primitive arrays
- binary search for primitive arrays
- merge sort for primitive arrays
This packages contains implementations of GapList and BigList for primitive data types.
-
Uses of IFloatList in org.magicwerk.brownies.collections.helper.primitive
Fields in org.magicwerk.brownies.collections.helper.primitive declared as IFloatListMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IFloatListModifier and TypeMethodDescriptionstatic int
FloatBinarySearch.binarySearch
(IFloatList list, float key, int lower, int upper) Searches the specified list for the specified object using the binary search algorithm.static <E> void
FloatMergeSort.sort
(IFloatList list) static <E> void
FloatMergeSort.sort
(IFloatList list, int from, int to) Constructors in org.magicwerk.brownies.collections.helper.primitive with parameters of type IFloatList -
Uses of IFloatList in org.magicwerk.brownies.collections.primitive
Subclasses of IFloatList in org.magicwerk.brownies.collections.primitiveModifier and TypeClassDescriptionclass
FloatBigList is a list optimized for storing large number of elements.(package private) static class
A block stores in maximum blockSize number of elements.protected static class
A read-only version ofinvalid reference
Key1List
class
Class {link FloatGapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
A read-only version ofFloatGapList
.Methods in org.magicwerk.brownies.collections.primitive that return IFloatListModifier and TypeMethodDescriptionIFloatList.clone()
Returns a shallow copy of this list.abstract IFloatList
IFloatList.copy()
Returns a shallow copy of this list.IFloatList.crop()
Returns a copy this list but without elements.protected IFloatList
FloatBigList.doCreate
(int capacity) protected abstract IFloatList
IFloatList.doCreate
(int capacity) Create list with specified capacity.IFloatList.extract
(int index, int len) Removes specified range of elements from list and return them.Removes and returns all elements in the list which match the predicate.Create a new list by applying the specified filter to all elements.IFloatList.getAll
(float elem) Returns all elements in the list equal to the specified element.IFloatList.getAll
(int index, int len) Returns specified range of elements from list.abstract IFloatList
IFloatList.immutableList()
Returns an immutable copy of this list.IFloatList.removeAll
(float elem) Removes all equal elements.IFloatList.transformedList
(UnaryOperator<Float> op) Create a new list by applying the specified transforming operator to all elements.abstract IFloatList
IFloatList.unmodifiableList()
Methods in org.magicwerk.brownies.collections.primitive with parameters of type IFloatListModifier and TypeMethodDescriptionboolean
IFloatList.addAll
(int index, IFloatList list) Inserts all of the elements in the specified list into this list, starting at the specified position.boolean
IFloatList.addAll
(IFloatList list) Adds all of the elements in the specified list into this list.protected void
FloatBigList.doAssign
(IFloatList that) protected void
FloatGapList.doAssign
(IFloatList that) protected abstract void
IFloatList.doAssign
(IFloatList that) Assign this list the content of the that list.protected void
FloatBigList.doClone
(IFloatList that) protected void
FloatGapList.doClone
(IFloatList that) protected abstract void
IFloatList.doClone
(IFloatList that) Initialize this object after the bitwise copy has been made by Object.clone().(package private) void
IFloatList.doTransfer
(int transferMode, int srcIndex, int srcLen, IFloatList dst, int dstIndex, int dstLen) (package private) void
IFloatList.doTransferSwap
(int srcIndex, IFloatList dst, int dstIndex, int len) void
IFloatList.initAll
(IFloatList list) Initializes the list so it will afterwards only contain the elements of the collection.void
IFloatList.putAll
(int index, IFloatList list) Set or add the specified elements.boolean
IFloatList.removeAll
(IFloatList coll) void
IFloatList.replaceAll
(int index, int len, IFloatList list) Replaces the specified range with new elements.boolean
IFloatList.retainAll
(IFloatList coll) void
IFloatList.setAll
(int index, IFloatList list) Sets the specified elements.static void
IFloatList.transferCopy
(IFloatList src, int srcIndex, int srcLen, IFloatList dst, int dstIndex, int dstLen) Copies elements from one list to another.static void
IFloatList.transferMove
(IFloatList src, int srcIndex, int srcLen, IFloatList dst, int dstIndex, int dstLen) Moves elements from one list to another by setting it to null in the source list.static void
IFloatList.transferRemove
(IFloatList src, int srcIndex, int srcLen, IFloatList dst, int dstIndex, int dstLen) Moves elements from one list to another by removing it from the source list.static void
IFloatList.transferSwap
(IFloatList src, int srcIndex, IFloatList dst, int dstIndex, int len) Swaps elements from two lists.