Uses of Class
org.magicwerk.brownies.collections.primitive.IDoubleList
-
Packages that use IDoubleList Package Description org.magicwerk.brownies.collections.helper.primitive This packages contains helper classes for the package org.magicwerk.brownies.collections.primitive:
- binary search for primitive arrays
- merge sort for primitive arraysorg.magicwerk.brownies.collections.primitive 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 IDoubleList Modifier and Type Field Description (package private) IDoubleList
DoubleMergeSort. list
Methods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IDoubleList Modifier and Type Method Description static 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 Constructor Description DoubleMergeSort(IDoubleList list)
-
Uses of IDoubleList in org.magicwerk.brownies.collections.primitive
Subclasses of IDoubleList in org.magicwerk.brownies.collections.primitive Modifier and Type Class Description class
DoubleBigList
DoubleBigList is a list optimized for storing large number of elements.(package private) static class
DoubleBigList.DoubleBlock
A block stores in maximum blockSize number of elements.protected static class
DoubleBigList.ReadOnlyDoubleBigList
A read-only version ofKey1List
.class
DoubleGapList
Class {link DoubleGapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
DoubleGapList.ReadOnlyList
A read-only version ofDoubleGapList
.Methods in org.magicwerk.brownies.collections.primitive that return IDoubleList Modifier and Type Method Description IDoubleList
IDoubleList. clone()
Returns a shallow copy of this list.abstract IDoubleList
IDoubleList. copy()
Returns a shallow copy of this list.IDoubleList
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
IDoubleList. extract(int index, int len)
Removes specified range of elements from list and return them.IDoubleList
IDoubleList. extractIf(java.util.function.Predicate<java.lang.Double> predicate)
Removes and returns all elements in the list which match the predicate.IDoubleList
IDoubleList. filter(java.util.function.Predicate<java.lang.Double> predicate)
Create a new list by applying the specified filter to all elements.IDoubleList
IDoubleList. getAll(double elem)
Returns all elements in the list equal to the specified element.IDoubleList
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
IDoubleList. removeAll(double elem)
Removes all equal elements.IDoubleList
IDoubleList. transformedList(java.util.function.UnaryOperator<java.lang.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 IDoubleList Modifier and Type Method Description boolean
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.
-