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