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