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