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) IIntList
IntMergeSort. list
Methods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IIntList Modifier and Type Method Description static int
IntBinarySearch. binarySearch(IIntList list, int key, int lower, int upper)
Searches the specified list for the specified object using the binary search algorithm.static <E> void
IntMergeSort. sort(IIntList list)
static <E> void
IntMergeSort. 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 class
IntBigList
IntBigList is a list optimized for storing large number of elements.(package private) static class
IntBigList.IntBlock
A block stores in maximum blockSize number of elements.protected static class
IntBigList.ReadOnlyIntBigList
A read-only version ofKey1List
.class
IntGapList
Class {link IntGapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
IntGapList.ReadOnlyList
A read-only version ofIntGapList
.Methods in org.magicwerk.brownies.collections.primitive that return IIntList Modifier and Type Method Description IIntList
IIntList. clone()
Returns a shallow copy of this list.abstract IIntList
IIntList. copy()
Returns a shallow copy of this list.IIntList
IIntList. crop()
Returns a copy this list but without elements.protected abstract IIntList
IIntList. doCreate(int capacity)
Create list with specified capacity.protected IIntList
IntBigList. doCreate(int capacity)
IIntList
IIntList. extract(int index, int len)
Removes specified range of elements from list and return them.IIntList
IIntList. extractIf(java.util.function.Predicate<java.lang.Integer> predicate)
Removes and returns all elements in the list which match the predicate.IIntList
IIntList. filter(java.util.function.Predicate<java.lang.Integer> predicate)
Create a new list by applying the specified filter to all elements.IIntList
IIntList. getAll(int elem)
Returns all elements in the list equal to the specified element.IIntList
IIntList. getAll(int index, int len)
Returns specified range of elements from list.abstract IIntList
IIntList. immutableList()
Returns an immutable copy of this list.IIntList
IIntList. removeAll(int elem)
Removes all equal elements.IIntList
IIntList. transformedList(java.util.function.UnaryOperator<java.lang.Integer> op)
Create a new list by applying the specified transforming operator to all elements.abstract IIntList
IIntList. unmodifiableList()
Methods in org.magicwerk.brownies.collections.primitive with parameters of type IIntList Modifier and Type Method Description boolean
IIntList. addAll(int index, IIntList list)
Inserts all of the elements in the specified list into this list, starting at the specified position.boolean
IIntList. addAll(IIntList list)
Adds all of the elements in the specified list into this list.protected abstract void
IIntList. doAssign(IIntList that)
Assign this list the content of the that list.protected void
IntBigList. doAssign(IIntList that)
protected void
IntGapList. doAssign(IIntList that)
protected abstract void
IIntList. doClone(IIntList that)
Initialize this object after the bitwise copy has been made by Object.clone().protected void
IntBigList. doClone(IIntList that)
protected void
IntGapList. doClone(IIntList that)
(package private) void
IIntList. doTransfer(int transferMode, int srcIndex, int srcLen, IIntList dst, int dstIndex, int dstLen)
(package private) void
IIntList. doTransferSwap(int srcIndex, IIntList dst, int dstIndex, int len)
void
IIntList. initAll(IIntList list)
Initializes the list so it will afterwards only contain the elements of the collection.void
IIntList. putAll(int index, IIntList list)
Set or add the specified elements.boolean
IIntList. removeAll(IIntList coll)
void
IIntList. replaceAll(int index, int len, IIntList list)
Replaces the specified range with new elements.boolean
IIntList. retainAll(IIntList coll)
void
IIntList. setAll(int index, IIntList list)
Sets the specified elements.static void
IIntList. transferCopy(IIntList src, int srcIndex, int srcLen, IIntList dst, int dstIndex, int dstLen)
Copies elements from one list to another.static void
IIntList. 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 void
IIntList. 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 void
IIntList. transferSwap(IIntList src, int srcIndex, IIntList dst, int dstIndex, int len)
Swaps elements from two lists.
-