Uses of Class
org.magicwerk.brownies.collections.primitive.IDoubleList
Packages that use IDoubleList
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 IDoubleList in org.magicwerk.brownies.collections.helper.primitive
Fields in org.magicwerk.brownies.collections.helper.primitive declared as IDoubleListMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IDoubleListModifier and TypeMethodDescriptionstatic intDoubleBinarySearch.binarySearch(IDoubleList list, double key, int lower, int upper) Searches the specified list for the specified object using the binary search algorithm.static <E> voidDoubleMergeSort.sort(IDoubleList list) static <E> voidDoubleMergeSort.sort(IDoubleList list, int from, int to) Constructors in org.magicwerk.brownies.collections.helper.primitive with parameters of type IDoubleList -
Uses of IDoubleList in org.magicwerk.brownies.collections.primitive
Subclasses of IDoubleList in org.magicwerk.brownies.collections.primitiveModifier and TypeClassDescriptionclassDoubleBigList is a list optimized for storing large number of elements.(package private) static classA block stores in maximum blockSize number of elements.protected static classA read-only version of.invalid reference
Key1ListclassClass {link DoubleGapList} combines the strengths of bothArrayListandLinkedList.protected static classA read-only version ofDoubleGapList.Methods in org.magicwerk.brownies.collections.primitive that return IDoubleListModifier and TypeMethodDescriptionIDoubleList.clone()Returns a shallow copy of this list.abstract IDoubleListIDoubleList.copy()Returns a shallow copy of this list.IDoubleList.crop()Returns a copy this list but without elements.protected IDoubleListDoubleBigList.doCreate(int capacity) protected abstract IDoubleListIDoubleList.doCreate(int capacity) Create list with specified capacity.IDoubleList.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.IDoubleList.getAll(double elem) Returns all elements in the list equal to the specified element.IDoubleList.getAll(int index, int len) Returns specified range of elements from list.abstract IDoubleListIDoubleList.immutableList()Returns an immutable copy of this list.IDoubleList.removeAll(double elem) Removes all equal elements.IDoubleList.transformedList(UnaryOperator<Double> op) Create a new list by applying the specified transforming operator to all elements.abstract IDoubleListIDoubleList.unmodifiableList()Methods in org.magicwerk.brownies.collections.primitive with parameters of type IDoubleListModifier and TypeMethodDescriptionbooleanIDoubleList.addAll(int index, IDoubleList list) Inserts all of the elements in the specified list into this list, starting at the specified position.booleanIDoubleList.addAll(IDoubleList list) Adds all of the elements in the specified list into this list.protected voidDoubleBigList.doAssign(IDoubleList that) protected voidDoubleGapList.doAssign(IDoubleList that) protected abstract voidIDoubleList.doAssign(IDoubleList that) Assign this list the content of the that list.protected voidDoubleBigList.doClone(IDoubleList that) protected voidDoubleGapList.doClone(IDoubleList that) protected abstract voidIDoubleList.doClone(IDoubleList that) Initialize this object after the bitwise copy has been made by Object.clone().(package private) voidIDoubleList.doTransfer(int transferMode, int srcIndex, int srcLen, IDoubleList dst, int dstIndex, int dstLen) (package private) voidIDoubleList.doTransferSwap(int srcIndex, IDoubleList dst, int dstIndex, int len) voidIDoubleList.initAll(IDoubleList list) Initializes the list so it will afterwards only contain the elements of the collection.voidIDoubleList.putAll(int index, IDoubleList list) Set or add the specified elements.booleanIDoubleList.removeAll(IDoubleList coll) voidIDoubleList.replaceAll(int index, int len, IDoubleList list) Replaces the specified range with new elements.booleanIDoubleList.retainAll(IDoubleList coll) voidIDoubleList.setAll(int index, IDoubleList list) Sets the specified elements.static voidIDoubleList.transferCopy(IDoubleList src, int srcIndex, int srcLen, IDoubleList dst, int dstIndex, int dstLen) Copies elements from one list to another.static voidIDoubleList.transferMove(IDoubleList src, int srcIndex, int srcLen, IDoubleList dst, int dstIndex, int dstLen) Moves elements from one list to another by setting it to null in the source list.static voidIDoubleList.transferRemove(IDoubleList src, int srcIndex, int srcLen, IDoubleList dst, int dstIndex, int dstLen) Moves elements from one list to another by removing it from the source list.static voidIDoubleList.transferSwap(IDoubleList src, int srcIndex, IDoubleList dst, int dstIndex, int len) Swaps elements from two lists.