Uses of Class
org.magicwerk.brownies.collections.IList
Packages that use IList
Package
Description
Brownies Collections complements the Java Collections Framework.
This packages contains helper classes for the package org.magicwerk.brownies.collections.
This packages contains implementations of GapList and BigList for primitive data types.
-
Uses of IList in org.magicwerk.brownies.collections
Subclasses of IList in org.magicwerk.brownies.collectionsModifier and TypeClassDescriptionclassBigList<E>BigList is a list optimized for storing large number of elements.(package private) static classA block stores in maximum blockSize number of elements.protected static classA read-only version ofKey1List.classGapList<E>Class {link GapList} combines the strengths of bothArrayListandLinkedList.protected static classA read-only version ofGapList.classKey1List<E,K> Key1List implements a key list with 1 key.protected static classA read-only version ofKey1List.classKey2List<E,K1, K2> Key2List implements a key list with 2 keys.protected static classKey2List.ReadOnlyKey2List<E,K1, K2> A read-only version ofKey2List.(package private) static classList type used to store multiple elements.classKeyList<E>KeyList implements a list.protected static classA read-only version ofKeyList.classKeyListImpl<E>A KeyList add key handling features to GapList.Fields in org.magicwerk.brownies.collections declared as IListModifier and TypeFieldDescriptionKeyCollectionImpl.KeyMap.keysListKey storage if this is a KeyListImpl sorted by this key map, otherwise null.IListAsDeque.listKeyListImpl.listList where the list content of this KeyListImpl is stored (never null).Methods in org.magicwerk.brownies.collections that return IListModifier and TypeMethodDescriptionIList.clone()Returns a shallow copy of this list.IList.copy()Returns a shallow copy of this list.IList.crop()Returns a copy this list but without elements.BigList.doCreate(int capacity) IList.doCreate(int capacity) Create list with specified capacity.KeyListImpl.doCreate(int capacity) IList.extract(int index, int len) Removes specified range of elements from list and return them.Removes and returns all elements in the list which match the predicate.Create a new list by applying the specified filter to all elements.<R> IList<R> Create a new list by applying the specified filter first and then the mapping function to all elements selected.static <E,R, C extends Collection<R>>
IList<R> ICollectionTools.filterMap(Collection<E> coll, Predicate<E> filter, Function<E, R> func) Create a new list by applying the specified filter first and then the mapping function to all elements selected.<R> IList<R> <R> IList<R> <R,C extends Collection<R>>
IList<R> Create a new list by applying the specified mapping function to all elements.<R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> IList.getAll(int index, int len) Returns specified range of elements from list.Returns all elements in the list equal to the specified element.KeyListImpl.getAllByKey(int keyIndex, Object key) Returns a list with all elements with the specified key.Key1List.getAllByKey1(K key) Returns all elements with specified key.Key2List.getAllByKey1(K1 key) Returns all elements with specified key.Key2List.getAllByKey2(K2 key) Returns all elements with specified key.protected IList<?> KeyCollectionImpl.getAllKeys(int keyIndex) Returns list containing all keys in element order.KeyListImpl.getAllKeys(int keyIndex) Returns list containing all keys in element order.Key1Collection.getAllKeys1()Returns list containing all keys in element order.Key1List.getAllKeys1()Returns list containing all keys in element order.Key2Collection.getAllKeys1()Returns list containing all keys in element order.Key2List.getAllKeys1()Returns list containing all keys in element order.Key2Collection.getAllKeys2()Returns list containing all keys in element order.Key2List.getAllKeys2()Returns list containing all keys in element order.IList.immutableList()Returns an immutable copy of this list.(package private) IList<?> KeyCollectionImpl.BuilderImpl.initList()<R> IList<R> Create a new list by applying the specified mapping function to all elements.<R> IList<R> <R> IList<R> <R> IList<R> Create a new list by applying the specified mapping function to all elements and then filtering it.static <E,R> IList <R> ICollectionTools.mapFilter(Collection<E> coll, Function<E, R> func, Predicate<R> filter) Create a new list by applying the specified mapping function to all elements and then filtering it.<R> IList<R> <R> IList<R> Removes all equal elements.Key1List.ReadOnlyKey1List.removeAllByKey(int keyIndex, Object key) Key2List.ReadOnlyKey2List.removeAllByKey(int keyIndex, Object key) KeyList.ImmutableKeyList.removeAllByKey(int keyIndex, Object key) KeyListImpl.removeAllByKey(int keyIndex, Object key) Removes element by key.Key1List.removeAllByKey1(K key) Removes all elements with specified key.Key2List.removeAllByKey1(K1 key) Removes all elements with specified key.Key2List.removeAllByKey2(K2 key) Removes all elements with specified key.IList.transformedList(UnaryOperator<E> op) Create a new list by applying the specified transforming operator to all elements.IList.unmodifiableList()Returns an unmodifiable view of this list.KeyListImpl.unwrap()Returns the elements stored in the KeyList as simple IList without constraints etc.Methods in org.magicwerk.brownies.collections with parameters of type IListModifier and TypeMethodDescriptionbooleanInserts all of the elements in the specified list into this list, starting at the specified position.booleanAdds all of the elements in the specified list into this list.protected voidprotected voidprotected abstract voidAssign this list the content of the that list.protected voidprotected voidprotected voidprotected abstract voidInitialize this object after the bitwise copy has been made by Object.clone().protected void(package private) voidIList.doTransfer(int transferMode, int srcIndex, int srcLen, IList<? super E> dst, int dstIndex, int dstLen) (package private) voidIList.doTransferSwap(int srcIndex, IList<E> dst, int dstIndex, int len) voidInitializes the list so it will afterwards only contain the elements of the collection.voidSet or add the specified elements.booleanvoidIList.replaceAll(int index, int len, IList<? extends E> list) Replaces the specified range with new elements.booleanvoidSets the specified elements.static <E> voidIList.transferCopy(IList<E> src, int srcIndex, int srcLen, IList<? super E> dst, int dstIndex, int dstLen) Copies elements from one list to another.static <E> voidIList.transferMove(IList<E> src, int srcIndex, int srcLen, IList<? super E> dst, int dstIndex, int dstLen) Moves elements from one list to another by setting it to null in the source list.static <E> voidIList.transferRemove(IList<E> src, int srcIndex, int srcLen, IList<? super E> dst, int dstIndex, int dstLen) Moves elements from one list to another by removing it from the source list.static <E> voidIList.transferSwap(IList<E> src, int srcIndex, IList<E> dst, int dstIndex, int len) Swaps elements from two lists.Constructors in org.magicwerk.brownies.collections with parameters of type IList -
Uses of IList in org.magicwerk.brownies.collections.helper
Methods in org.magicwerk.brownies.collections.helper that return IListModifier and TypeMethodDescriptionstatic IList<?> BigLists.createWrapperList(Class<?> type) Create a BigList wrapping a primitive BigList, e.g.static IList<?> GapLists.createWrapperList(Class<?> type) Create a GapList wrapping a primitive GapList, e.g.static IList<?> GapLists.createWrapperList(Class<?> type, int capacity) Create a GapList wrapping a primitive GapList, e.g. -
Uses of IList in org.magicwerk.brownies.collections.primitive
Subclasses of IList in org.magicwerk.brownies.collections.primitiveModifier and TypeClassDescriptionclassBooleanObjBigList implements the List interface and uses an instance of BooleanBigList for storage.protected static classAn immutable version of a BigList.classBooleanObjGapList implements the List interface and uses an instance of BooleanGapList for storage.protected static classAn immutable version of a GapList.classByteObjBigList implements the List interface and uses an instance of ByteBigList for storage.protected static classAn immutable version of a BigList.classByteObjGapList implements the List interface and uses an instance of ByteGapList for storage.protected static classAn immutable version of a GapList.classCharObjBigList implements the List interface and uses an instance of CharBigList for storage.protected static classAn immutable version of a BigList.classCharObjGapList implements the List interface and uses an instance of CharGapList for storage.protected static classAn immutable version of a GapList.classDoubleObjBigList implements the List interface and uses an instance of DoubleBigList for storage.protected static classAn immutable version of a BigList.classDoubleObjGapList implements the List interface and uses an instance of DoubleGapList for storage.protected static classAn immutable version of a GapList.classFloatObjBigList implements the List interface and uses an instance of FloatBigList for storage.protected static classAn immutable version of a BigList.classFloatObjGapList implements the List interface and uses an instance of FloatGapList for storage.protected static classAn immutable version of a GapList.classIntObjBigList implements the List interface and uses an instance of IntBigList for storage.protected static classAn immutable version of a BigList.classIntObjGapList implements the List interface and uses an instance of IntGapList for storage.protected static classAn immutable version of a GapList.classLongObjBigList implements the List interface and uses an instance of LongBigList for storage.protected static classAn immutable version of a BigList.classLongObjGapList implements the List interface and uses an instance of LongGapList for storage.protected static classAn immutable version of a GapList.classShortObjBigList implements the List interface and uses an instance of ShortBigList for storage.protected static classAn immutable version of a BigList.classShortObjGapList implements the List interface and uses an instance of ShortGapList for storage.protected static classAn immutable version of a GapList.Methods in org.magicwerk.brownies.collections.primitive that return IListModifier and TypeMethodDescriptionBooleanObjBigList.doCreate(int capacity) BooleanObjGapList.doCreate(int capacity) ByteObjBigList.doCreate(int capacity) ByteObjGapList.doCreate(int capacity) CharObjBigList.doCreate(int capacity) CharObjGapList.doCreate(int capacity) DoubleObjBigList.doCreate(int capacity) DoubleObjGapList.doCreate(int capacity) FloatObjBigList.doCreate(int capacity) FloatObjGapList.doCreate(int capacity) IntObjBigList.doCreate(int capacity) IntObjGapList.doCreate(int capacity) LongObjBigList.doCreate(int capacity) LongObjGapList.doCreate(int capacity) ShortObjBigList.doCreate(int capacity) ShortObjGapList.doCreate(int capacity) <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R,C extends Collection<R>>
IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> <R> IList<R> Methods in org.magicwerk.brownies.collections.primitive with parameters of type IListModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid