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 int
DoubleBinarySearch.binarySearch
(IDoubleList list, double key, int lower, int upper) Searches the specified list for the specified object using the binary search algorithm.static <E> void
DoubleMergeSort.sort
(IDoubleList list) static <E> void
DoubleMergeSort.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 TypeClassDescriptionclass
DoubleBigList 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 DoubleGapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
A 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 IDoubleList
IDoubleList.copy()
Returns a shallow copy of this list.IDoubleList.crop()
Returns a copy this list but without elements.protected IDoubleList
DoubleBigList.doCreate
(int capacity) protected abstract IDoubleList
IDoubleList.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 IDoubleList
IDoubleList.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 IDoubleList
IDoubleList.unmodifiableList()
Methods in org.magicwerk.brownies.collections.primitive with parameters of type IDoubleListModifier and TypeMethodDescriptionboolean
IDoubleList.addAll
(int index, IDoubleList list) Inserts all of the elements in the specified list into this list, starting at the specified position.boolean
IDoubleList.addAll
(IDoubleList list) Adds all of the elements in the specified list into this list.protected void
DoubleBigList.doAssign
(IDoubleList that) protected void
DoubleGapList.doAssign
(IDoubleList that) protected abstract void
IDoubleList.doAssign
(IDoubleList that) Assign this list the content of the that list.protected void
DoubleBigList.doClone
(IDoubleList that) protected void
DoubleGapList.doClone
(IDoubleList that) protected abstract void
IDoubleList.doClone
(IDoubleList that) Initialize this object after the bitwise copy has been made by Object.clone().(package private) void
IDoubleList.doTransfer
(int transferMode, int srcIndex, int srcLen, IDoubleList dst, int dstIndex, int dstLen) (package private) void
IDoubleList.doTransferSwap
(int srcIndex, IDoubleList dst, int dstIndex, int len) void
IDoubleList.initAll
(IDoubleList list) Initializes the list so it will afterwards only contain the elements of the collection.void
IDoubleList.putAll
(int index, IDoubleList list) Set or add the specified elements.boolean
IDoubleList.removeAll
(IDoubleList coll) void
IDoubleList.replaceAll
(int index, int len, IDoubleList list) Replaces the specified range with new elements.boolean
IDoubleList.retainAll
(IDoubleList coll) void
IDoubleList.setAll
(int index, IDoubleList list) Sets the specified elements.static void
IDoubleList.transferCopy
(IDoubleList src, int srcIndex, int srcLen, IDoubleList dst, int dstIndex, int dstLen) Copies elements from one list to another.static void
IDoubleList.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 void
IDoubleList.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 void
IDoubleList.transferSwap
(IDoubleList src, int srcIndex, IDoubleList dst, int dstIndex, int len) Swaps elements from two lists.