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