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) ILongListLongMergeSort. listMethods in org.magicwerk.brownies.collections.helper.primitive with parameters of type ILongList Modifier and Type Method Description static intLongBinarySearch. binarySearch(ILongList list, long key, int lower, int upper)Searches the specified list for the specified object using the binary search algorithm.static <E> voidLongMergeSort. sort(ILongList list)static <E> voidLongMergeSort. 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 protected static classILongList.IReadOnlyLongListprotected static classILongList.IReadOnlyLongListFromArrayprotected static classILongList.IReadOnlyLongListFromCollectionprotected static classILongList.IReadOnlyLongListFromListprotected static classILongList.IReadOnlyLongListFromMultclassLongBigListLongBigList is a list optimized for storing large number of elements.protected static classLongBigList.ImmutableLongBigListAn immutable version of a LongBigList.(package private) static classLongBigList.LongBlockA block stores in maximum blockSize number of elements.classLongGapListLongGapList combines the strengths of both ArrayList and LinkedList.protected static classLongGapList.ImmutableLongGapListAn immutable version of a LongGapList.Methods in org.magicwerk.brownies.collections.primitive that return ILongList Modifier and Type Method Description ILongListILongList. copy()Returns a shallow copy of this list.ILongListILongList. crop()Returns a copy this list but without elements.protected abstract ILongListILongList. doCreate(int capacity)Create list with specified capacity.protected ILongListILongList.IReadOnlyLongList. doCreate(int capacity)protected ILongListLongBigList. doCreate(int capacity)ILongListILongList. extract(int index, int len)Removes specified range of elements from list and return them.ILongListILongList. extractIf(java.util.function.Predicate<java.lang.Long> predicate)Removes and returns all elements in the list which match the predicate.ILongListILongList. filter(java.util.function.Predicate<java.lang.Long> predicate)Create a new list by applying the specified filter to all elements.ILongListILongList. getAll(int index, int len)Returns specified range of elements from list.ILongListILongList. getAll(long elem)Returns all elements in the list equal to the specified element.ILongListILongList. removeAll(long elem)Removes all equal elements.ILongListILongList. transformedList(java.util.function.UnaryOperator<java.lang.Long> op)Create a new list by applying the specified transforming operator to all elements.ILongListILongList.IReadOnlyLongList. unmodifiableList()abstract ILongListILongList. unmodifiableList()Methods in org.magicwerk.brownies.collections.primitive with parameters of type ILongList Modifier and Type Method Description booleanILongList. addAll(int index, ILongList list)Inserts all of the elements in the specified list into this list, starting at the specified position.booleanILongList. addAll(ILongList list)Adds all of the elements in the specified list into this list.protected booleanILongList. doAddAll(int index, ILongList list)Helper method for adding multiple elements to the list.protected booleanLongBigList. doAddAll(int index, ILongList list)private voidLongBigList. doAddAllHead(ILongList list, int addPos, int addLen, int space)private voidLongBigList. doAddAllMiddle(ILongList list, int addPos)private voidLongBigList. doAddAllTail(ILongList list, int addPos, int addLen, int space)protected abstract voidILongList. doAssign(ILongList that)Assign this list the content of the that list.protected voidILongList.IReadOnlyLongList. doAssign(ILongList that)protected voidLongBigList. doAssign(ILongList that)protected voidLongGapList. doAssign(ILongList that)protected abstract voidILongList. doClone(ILongList that)Initialize this object after the bitwise copy has been made by Object.clone().protected voidILongList.IReadOnlyLongList. doClone(ILongList that)protected voidLongBigList. doClone(ILongList that)protected voidLongGapList. doClone(ILongList that)protected booleanILongList. doReplaceAll(int index, int len, ILongList list)(package private) voidILongList. doTransfer(int transferMode, int srcIndex, int srcLen, ILongList dst, int dstIndex, int dstLen)(package private) voidILongList. doTransferSwap(int srcIndex, ILongList dst, int dstIndex, int len)voidILongList. initAll(ILongList list)Initializes the list so it will afterwards only contain the elements of the collection.voidILongList. putAll(int index, ILongList list)Set or add the specified elements.booleanILongList. removeAll(ILongList coll)voidILongList. replaceAll(int index, int len, ILongList list)Replaces the specified range with new elements.booleanILongList. retainAll(ILongList coll)voidILongList. setAll(int index, ILongList list)Sets the specified elements.static voidILongList. transferCopy(ILongList src, int srcIndex, int srcLen, ILongList dst, int dstIndex, int dstLen)Copies elements from one list to another.static voidILongList. 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 voidILongList. 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 voidILongList. transferSwap(ILongList src, int srcIndex, ILongList dst, int dstIndex, int len)Swaps elements from two lists.
-