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 TypeClassDescriptionclass
BigList<E>
BigList is a list optimized for storing large number of elements.(package private) static class
A block stores in maximum blockSize number of elements.protected static class
A read-only version ofKey1List
.class
GapList<E>
Class {link GapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
A read-only version ofGapList
.class
Key1List<E,
K> Key1List implements a key list with 1 key.protected static class
A read-only version ofKey1List
.class
Key2List<E,
K1, K2> Key2List implements a key list with 2 keys.protected static class
Key2List.ReadOnlyKey2List<E,
K1, K2> A read-only version ofKey2List
.(package private) static class
List type used to store multiple elements.class
KeyList<E>
KeyList implements a list.protected static class
A read-only version ofKeyList
.class
KeyListImpl<E>
A KeyList add key handling features to GapList.Fields in org.magicwerk.brownies.collections declared as IListModifier and TypeFieldDescriptionKeyCollectionImpl.KeyMap.keysList
Key storage if this is a KeyListImpl sorted by this key map, otherwise null.IListAsDeque.list
KeyListImpl.list
List 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 TypeMethodDescriptionboolean
Inserts all of the elements in the specified list into this list, starting at the specified position.boolean
Adds all of the elements in the specified list into this list.protected void
protected void
protected abstract void
Assign this list the content of the that list.protected void
protected void
protected void
protected abstract void
Initialize this object after the bitwise copy has been made by Object.clone().protected void
(package private) void
IList.doTransfer
(int transferMode, int srcIndex, int srcLen, IList<? super E> dst, int dstIndex, int dstLen) (package private) void
IList.doTransferSwap
(int srcIndex, IList<E> dst, int dstIndex, int len) void
Initializes the list so it will afterwards only contain the elements of the collection.void
Set or add the specified elements.boolean
void
IList.replaceAll
(int index, int len, IList<? extends E> list) Replaces the specified range with new elements.boolean
void
Sets the specified elements.static <E> void
IList.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> void
IList.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> void
IList.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> void
IList.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 TypeClassDescriptionclass
BooleanObjBigList implements the List interface and uses an instance of BooleanBigList for storage.protected static class
An immutable version of a BigList.class
BooleanObjGapList implements the List interface and uses an instance of BooleanGapList for storage.protected static class
An immutable version of a GapList.class
ByteObjBigList implements the List interface and uses an instance of ByteBigList for storage.protected static class
An immutable version of a BigList.class
ByteObjGapList implements the List interface and uses an instance of ByteGapList for storage.protected static class
An immutable version of a GapList.class
CharObjBigList implements the List interface and uses an instance of CharBigList for storage.protected static class
An immutable version of a BigList.class
CharObjGapList implements the List interface and uses an instance of CharGapList for storage.protected static class
An immutable version of a GapList.class
DoubleObjBigList implements the List interface and uses an instance of DoubleBigList for storage.protected static class
An immutable version of a BigList.class
DoubleObjGapList implements the List interface and uses an instance of DoubleGapList for storage.protected static class
An immutable version of a GapList.class
FloatObjBigList implements the List interface and uses an instance of FloatBigList for storage.protected static class
An immutable version of a BigList.class
FloatObjGapList implements the List interface and uses an instance of FloatGapList for storage.protected static class
An immutable version of a GapList.class
IntObjBigList implements the List interface and uses an instance of IntBigList for storage.protected static class
An immutable version of a BigList.class
IntObjGapList implements the List interface and uses an instance of IntGapList for storage.protected static class
An immutable version of a GapList.class
LongObjBigList implements the List interface and uses an instance of LongBigList for storage.protected static class
An immutable version of a BigList.class
LongObjGapList implements the List interface and uses an instance of LongGapList for storage.protected static class
An immutable version of a GapList.class
ShortObjBigList implements the List interface and uses an instance of ShortBigList for storage.protected static class
An immutable version of a BigList.class
ShortObjGapList implements the List interface and uses an instance of ShortGapList for storage.protected static class
An 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 TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void