Uses of Class
org.magicwerk.brownies.collections.primitive.IIntList
Packages that use IIntList
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 IIntList in org.magicwerk.brownies.collections.helper.primitive
Fields in org.magicwerk.brownies.collections.helper.primitive declared as IIntListMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type IIntListModifier and TypeMethodDescriptionstatic 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
static <E> void
Constructors in org.magicwerk.brownies.collections.helper.primitive with parameters of type IIntList -
Uses of IIntList in org.magicwerk.brownies.collections.primitive
Subclasses of IIntList in org.magicwerk.brownies.collections.primitiveModifier and TypeClassDescriptionclass
IntBigList is a list optimized for storing large number of elements.(package private) static class
A block stores in maximum blockSize number of elements.protected static class
A read-only version ofinvalid reference
Key1List
class
Class {link IntGapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
A read-only version ofIntGapList
.Methods in org.magicwerk.brownies.collections.primitive that return IIntListModifier and TypeMethodDescriptionIIntList.clone()
Returns a shallow copy of this list.abstract IIntList
IIntList.copy()
Returns a shallow copy of this list.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.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.IIntList.getAll
(int elem) Returns all elements in the list equal to the specified element.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.removeAll
(int elem) Removes all equal elements.IIntList.transformedList
(UnaryOperator<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 IIntListModifier and TypeMethodDescriptionboolean
Inserts all of the elements in the specified list into this list, starting at the specified position.boolean
Adds all of the elements in the specified list into this list.protected abstract void
Assign this list the content of the that list.protected void
protected void
protected abstract void
Initialize this object after the bitwise copy has been made by Object.clone().protected void
protected void
(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
Initializes the list so it will afterwards only contain the elements of the collection.void
Set or add the specified elements.boolean
void
IIntList.replaceAll
(int index, int len, IIntList list) Replaces the specified range with new elements.boolean
void
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.