Uses of Class
org.magicwerk.brownies.collections.primitive.IIntList
-
Packages that use IIntList 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 IIntList in org.magicwerk.brownies.collections.helper.primitive
Fields in org.magicwerk.brownies.collections.helper.primitive declared as IIntList Modifier and Type Field Description (package private) IIntListIntMergeSort. listMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IIntList Modifier and Type Method Description static intIntBinarySearch. binarySearch(IIntList list, int key, int lower, int upper)Searches the specified list for the specified object using the binary search algorithm.static <E> voidIntMergeSort. sort(IIntList list)static <E> voidIntMergeSort. sort(IIntList list, int from, int to)Constructors in org.magicwerk.brownies.collections.helper.primitive with parameters of type IIntList Constructor Description IntMergeSort(IIntList list) -
Uses of IIntList in org.magicwerk.brownies.collections.primitive
Subclasses of IIntList in org.magicwerk.brownies.collections.primitive Modifier and Type Class Description protected static classIIntList.IReadOnlyIntListprotected static classIIntList.IReadOnlyIntListFromArrayprotected static classIIntList.IReadOnlyIntListFromCollectionprotected static classIIntList.IReadOnlyIntListFromListprotected static classIIntList.IReadOnlyIntListFromMultclassIntBigListIntBigList is a list optimized for storing large number of elements.protected static classIntBigList.ImmutableIntBigListAn immutable version of a IntBigList.(package private) static classIntBigList.IntBlockA block stores in maximum blockSize number of elements.classIntGapListIntGapList combines the strengths of both ArrayList and LinkedList.protected static classIntGapList.ImmutableIntGapListAn immutable version of a IntGapList.Methods in org.magicwerk.brownies.collections.primitive that return IIntList Modifier and Type Method Description IIntListIIntList. copy()Returns a shallow copy of this list.IIntListIIntList. crop()Returns a copy this list but without elements.protected abstract IIntListIIntList. doCreate(int capacity)Create list with specified capacity.protected IIntListIIntList.IReadOnlyIntList. doCreate(int capacity)protected IIntListIntBigList. doCreate(int capacity)IIntListIIntList. extract(int index, int len)Removes specified range of elements from list and return them.IIntListIIntList. extractIf(java.util.function.Predicate<java.lang.Integer> predicate)Removes and returns all elements in the list which match the predicate.IIntListIIntList. filter(java.util.function.Predicate<java.lang.Integer> predicate)Create a new list by applying the specified filter to all elements.IIntListIIntList. getAll(int elem)Returns all elements in the list equal to the specified element.IIntListIIntList. getAll(int index, int len)Returns specified range of elements from list.IIntListIIntList. removeAll(int elem)Removes all equal elements.IIntListIIntList. transformedList(java.util.function.UnaryOperator<java.lang.Integer> op)Create a new list by applying the specified transforming operator to all elements.IIntListIIntList.IReadOnlyIntList. unmodifiableList()abstract IIntListIIntList. unmodifiableList()Methods in org.magicwerk.brownies.collections.primitive with parameters of type IIntList Modifier and Type Method Description booleanIIntList. addAll(int index, IIntList list)Inserts all of the elements in the specified list into this list, starting at the specified position.booleanIIntList. addAll(IIntList list)Adds all of the elements in the specified list into this list.protected booleanIIntList. doAddAll(int index, IIntList list)Helper method for adding multiple elements to the list.protected booleanIntBigList. doAddAll(int index, IIntList list)private voidIntBigList. doAddAllHead(IIntList list, int addPos, int addLen, int space)private voidIntBigList. doAddAllMiddle(IIntList list, int addPos)private voidIntBigList. doAddAllTail(IIntList list, int addPos, int addLen, int space)protected abstract voidIIntList. doAssign(IIntList that)Assign this list the content of the that list.protected voidIIntList.IReadOnlyIntList. doAssign(IIntList that)protected voidIntBigList. doAssign(IIntList that)protected voidIntGapList. doAssign(IIntList that)protected abstract voidIIntList. doClone(IIntList that)Initialize this object after the bitwise copy has been made by Object.clone().protected voidIIntList.IReadOnlyIntList. doClone(IIntList that)protected voidIntBigList. doClone(IIntList that)protected voidIntGapList. doClone(IIntList that)protected booleanIIntList. doReplaceAll(int index, int len, IIntList list)(package private) voidIIntList. doTransfer(int transferMode, int srcIndex, int srcLen, IIntList dst, int dstIndex, int dstLen)(package private) voidIIntList. doTransferSwap(int srcIndex, IIntList dst, int dstIndex, int len)voidIIntList. initAll(IIntList list)Initializes the list so it will afterwards only contain the elements of the collection.voidIIntList. putAll(int index, IIntList list)Set or add the specified elements.booleanIIntList. removeAll(IIntList coll)voidIIntList. replaceAll(int index, int len, IIntList list)Replaces the specified range with new elements.booleanIIntList. retainAll(IIntList coll)voidIIntList. setAll(int index, IIntList list)Sets the specified elements.static voidIIntList. transferCopy(IIntList src, int srcIndex, int srcLen, IIntList dst, int dstIndex, int dstLen)Copies elements from one list to another.static voidIIntList. transferMove(IIntList src, int srcIndex, int srcLen, IIntList dst, int dstIndex, int dstLen)Moves elements from one list to another by setting it to null in the source list.static voidIIntList. transferRemove(IIntList src, int srcIndex, int srcLen, IIntList dst, int dstIndex, int dstLen)Moves elements from one list to another by removing it from the source list.static voidIIntList. transferSwap(IIntList src, int srcIndex, IIntList dst, int dstIndex, int len)Swaps elements from two lists.
-