Uses of Class
org.magicwerk.brownies.collections.primitive.ILongList
Packages that use ILongList
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 ILongList in org.magicwerk.brownies.collections.helper.primitive
Fields in org.magicwerk.brownies.collections.helper.primitive declared as ILongListMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type ILongListModifier and TypeMethodDescriptionstatic intLongBinarySearch.binarySearch(ILongList list, long key, int lower, int upper) Searches the specified list for the specified object using the binary search algorithm.static <E> voidstatic <E> voidConstructors in org.magicwerk.brownies.collections.helper.primitive with parameters of type ILongList -
Uses of ILongList in org.magicwerk.brownies.collections.primitive
Subclasses of ILongList in org.magicwerk.brownies.collections.primitiveModifier and TypeClassDescriptionclassLongBigList 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 LongGapList} combines the strengths of bothArrayListandLinkedList.protected static classA read-only version ofLongGapList.Methods in org.magicwerk.brownies.collections.primitive that return ILongListModifier and TypeMethodDescriptionILongList.clone()Returns a shallow copy of this list.abstract ILongListILongList.copy()Returns a shallow copy of this list.ILongList.crop()Returns a copy this list but without elements.protected abstract ILongListILongList.doCreate(int capacity) Create list with specified capacity.protected ILongListLongBigList.doCreate(int capacity) ILongList.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.ILongList.getAll(int index, int len) Returns specified range of elements from list.ILongList.getAll(long elem) Returns all elements in the list equal to the specified element.abstract ILongListILongList.immutableList()Returns an immutable copy of this list.ILongList.removeAll(long elem) Removes all equal elements.ILongList.transformedList(UnaryOperator<Long> op) Create a new list by applying the specified transforming operator to all elements.abstract ILongListILongList.unmodifiableList()Methods in org.magicwerk.brownies.collections.primitive with parameters of type ILongListModifier and TypeMethodDescriptionbooleanInserts all of the elements in the specified list into this list, starting at the specified position.booleanAdds all of the elements in the specified list into this list.protected abstract voidAssign this list the content of the that list.protected voidprotected voidprotected abstract voidInitialize this object after the bitwise copy has been made by Object.clone().protected voidprotected void(package private) voidILongList.doTransfer(int transferMode, int srcIndex, int srcLen, ILongList dst, int dstIndex, int dstLen) (package private) voidILongList.doTransferSwap(int srcIndex, ILongList dst, int dstIndex, int len) voidInitializes the list so it will afterwards only contain the elements of the collection.voidSet or add the specified elements.booleanvoidILongList.replaceAll(int index, int len, ILongList list) Replaces the specified range with new elements.booleanvoidSets the specified elements.static voidILongList.transferCopy(ILongList src, int srcIndex, int srcLen, ILongList dst, int dstIndex, int dstLen) Copies elements from one list to another.static voidILongList.transferMove(ILongList src, int srcIndex, int srcLen, ILongList dst, int dstIndex, int dstLen) Moves elements from one list to another by setting it to null in the source list.static voidILongList.transferRemove(ILongList src, int srcIndex, int srcLen, ILongList dst, int dstIndex, int dstLen) Moves elements from one list to another by removing it from the source list.static voidILongList.transferSwap(ILongList src, int srcIndex, ILongList dst, int dstIndex, int len) Swaps elements from two lists.