Uses of Class
org.magicwerk.brownies.collections.primitive.IShortList
-
Packages that use IShortList 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 IShortList in org.magicwerk.brownies.collections.helper.primitive
Fields in org.magicwerk.brownies.collections.helper.primitive declared as IShortList Modifier and Type Field Description (package private) IShortListShortMergeSort. listMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IShortList Modifier and Type Method Description static 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 Constructor Description ShortMergeSort(IShortList list) -
Uses of IShortList in org.magicwerk.brownies.collections.primitive
Subclasses of IShortList in org.magicwerk.brownies.collections.primitive Modifier and Type Class Description classShortBigListShortBigList is a list optimized for storing large number of elements.protected static classShortBigList.ReadOnlyShortBigListA read-only version ofKey1List.(package private) static classShortBigList.ShortBlockA block stores in maximum blockSize number of elements.classShortGapListClass {link ShortGapList} combines the strengths of bothArrayListandLinkedList.protected static classShortGapList.ReadOnlyListA read-only version ofShortGapList.Methods in org.magicwerk.brownies.collections.primitive that return IShortList Modifier and Type Method Description IShortListIShortList. clone()Returns a shallow copy of this list.abstract IShortListIShortList. copy()Returns a shallow copy of this list.IShortListIShortList. 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)IShortListIShortList. extract(int index, int len)Removes specified range of elements from list and return them.IShortListIShortList. extractIf(java.util.function.Predicate<java.lang.Short> predicate)Removes and returns all elements in the list which match the predicate.IShortListIShortList. filter(java.util.function.Predicate<java.lang.Short> predicate)Create a new list by applying the specified filter to all elements.IShortListIShortList. getAll(int index, int len)Returns specified range of elements from list.IShortListIShortList. getAll(short elem)Returns all elements in the list equal to the specified element.abstract IShortListIShortList. immutableList()Returns an immutable copy of this list.IShortListIShortList. removeAll(short elem)Removes all equal elements.IShortListIShortList. transformedList(java.util.function.UnaryOperator<java.lang.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 IShortList Modifier and Type Method Description booleanIShortList. 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.
-