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) IDoubleListDoubleMergeSort. listMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IDoubleList Modifier and Type Method Description static 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 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 classDoubleBigListDoubleBigList is a list optimized for storing large number of elements.(package private) static classDoubleBigList.DoubleBlockA block stores in maximum blockSize number of elements.protected static classDoubleBigList.ReadOnlyDoubleBigListA read-only version ofKey1List.classDoubleGapListClass {link DoubleGapList} combines the strengths of bothArrayListandLinkedList.protected static classDoubleGapList.ReadOnlyListA read-only version ofDoubleGapList.Methods in org.magicwerk.brownies.collections.primitive that return IDoubleList Modifier and Type Method Description IDoubleListIDoubleList. clone()Returns a shallow copy of this list.abstract IDoubleListIDoubleList. copy()Returns a shallow copy of this list.IDoubleListIDoubleList. 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.IDoubleListIDoubleList. extract(int index, int len)Removes specified range of elements from list and return them.IDoubleListIDoubleList. extractIf(java.util.function.Predicate<java.lang.Double> predicate)Removes and returns all elements in the list which match the predicate.IDoubleListIDoubleList. filter(java.util.function.Predicate<java.lang.Double> predicate)Create a new list by applying the specified filter to all elements.IDoubleListIDoubleList. getAll(double elem)Returns all elements in the list equal to the specified element.IDoubleListIDoubleList. getAll(int index, int len)Returns specified range of elements from list.abstract IDoubleListIDoubleList. immutableList()Returns an immutable copy of this list.IDoubleListIDoubleList. removeAll(double elem)Removes all equal elements.IDoubleListIDoubleList. transformedList(java.util.function.UnaryOperator<java.lang.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 IDoubleList Modifier and Type Method Description booleanIDoubleList. 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.
-