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