A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Adds a value to the value of this instance.
- add(int, E) - Method in class org.magicwerk.brownies.collections.GapList
- add(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Inserts the specified element at the specified position in this list.
- add(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Inserts the specified element at the specified position in this list.
- add(E) - Method in class org.magicwerk.brownies.collections.GapList
- add(E) - Method in class org.magicwerk.brownies.collections.IList
- add(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- add(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsSet
- add(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- add(E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- add(CharSequence, CharGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Add specified number of chars from CharSequence into CharGapList.
- add(Number) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Adds a value to the value of this instance.
- add(K) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- addAll(int, Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Inserts all of the elements in the specified collection into this list, starting at the specified position.
- addAll(int, IList<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Inserts all of the elements in the specified list into this list, starting at the specified position.
- addAll(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Adds all of the elements in the specified collection into this list.
- addAll(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- addAll(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- addAll(Collection<? extends K>) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- addAll(IList<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Adds all of the elements in the specified list into this list.
- addAllExplained(Key1Collection<E, K>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
KeyCollectionImpl.addAll(java.util.Collection<? extends E>)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addAllExplained(Key1List<E, K>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
IList.addAll(org.magicwerk.brownies.collections.IList<? extends E>)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addAllExplained(Key2Collection<E, K1, K2>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
KeyCollectionImpl.addAll(java.util.Collection<? extends E>)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addAllExplained(Key2List<E, K1, K2>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
IList.addAll(org.magicwerk.brownies.collections.IList<? extends E>)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addAllExplained(KeyCollectionImpl<E>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.GapListsImpl
-
Implementation of
KeyCollectionImpl.addAll(java.util.Collection<? extends E>)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addAllExplained(KeyListImpl<E>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.GapListsImpl
-
Implementation of
IList.addAll(org.magicwerk.brownies.collections.IList<? extends E>)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addAndGet(int) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments this instance's value by
operand; this method returns the value associated with the instance immediately after the addition operation. - addAndGet(Number) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments this instance's value by
operand; this method returns the value associated with the instance immediately after the addition operation. - addArray(int, E...) - Method in class org.magicwerk.brownies.collections.IList
-
Inserts the specified elements into this list, starting at the specified position.
- addArray(int, E[], int, int) - Method in class org.magicwerk.brownies.collections.IList
- addArray(E...) - Method in class org.magicwerk.brownies.collections.IList
-
Adds all specified elements into this list.
- addArray(E[], int, int) - Method in class org.magicwerk.brownies.collections.IList
- addExplained(Key1Collection<E, K>, EE) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
KeyCollectionImpl.add(E)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addExplained(Key1List<E, K>, EE) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
KeyListImpl.add(E)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addExplained(Key2Collection<E, K1, K2>, EE) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
KeyCollectionImpl.add(E)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addExplained(Key2List<E, K1, K2>, EE) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Implementation of
KeyListImpl.add(E)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addExplained(KeyCollectionImpl<E>, EE) - Static method in class org.magicwerk.brownies.collections.GapListsImpl
-
Implementation of
KeyCollectionImpl.add(E)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addExplained(KeyListImpl<E>, EE) - Static method in class org.magicwerk.brownies.collections.GapListsImpl
-
Implementation of
KeyListImpl.add(E)which adds an explanatory exception message why adding failed with aDuplicateKeyException. - addFirst(E) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.addFirst(E) - addFirst(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- addIfAbsent(E) - Method in class org.magicwerk.brownies.collections.IList
-
Add elements to the end if it is not already contained in the list.
- addLast(E) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.addLast(E) - addLast(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- addMult(int, int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Inserts element multiple time to list, starting at the specified position.
- addMult(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Adds element multiple time to list.
- ANY_PRESENT - org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Return the index of any list element that compares as equal to the key.
- apply(E) - Method in class org.magicwerk.brownies.collections.helper.IdentMapper
- ArraysHelper - Class in org.magicwerk.brownies.collections.helper
-
The class ArraysHelper adds method for handling boolean arrays which are missing in java.util.Arrays, e.g. sort() and binarySearch().
- ArraysHelper() - Constructor for class org.magicwerk.brownies.collections.helper.ArraysHelper
- asDeque() - Method in class org.magicwerk.brownies.collections.IList
- asIListable(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Return correct IListable for passed collection.
- asMap1() - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns a map view to the key map.
- asMap1() - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns a map view to the key map.
- asMap1() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns a map view to the key map.
- asMap1() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns a map view to the key map.
- asMap2() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns a map view to the key map.
- asMap2() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns a map view to the key map.
- asSet() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns a Set view of the element set.
- asSet() - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns a Set view of the element set.
B
- BigList<E> - Class in org.magicwerk.brownies.collections
-
BigList is a list optimized for storing large number of elements.
- BigList() - Constructor for class org.magicwerk.brownies.collections.BigList
-
Default constructor.
- BigList(boolean, BigList<E>) - Constructor for class org.magicwerk.brownies.collections.BigList
-
Constructor used internally, e.g. for ImmutableBigList.
- BigList(int) - Constructor for class org.magicwerk.brownies.collections.BigList
-
Constructor.
- BigList(Collection<? extends E>) - Constructor for class org.magicwerk.brownies.collections.BigList
-
Create new list with specified elements.
- BigList.ReadOnlyBigList<E> - Class in org.magicwerk.brownies.collections
-
A read-only version of
Key1List. - BigLists - Class in org.magicwerk.brownies.collections.helper
-
Helper class to create wrapper list objects wrapping primitive BigLists.
- BigLists() - Constructor for class org.magicwerk.brownies.collections.helper.BigLists
- binarySearch(boolean[], int, int, boolean) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(byte[], int, int, byte) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(char[], int, int, char) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(double[], int, int, double) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(float[], int, int, float) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(int[], int, int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(int, int, K, Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.BigList
- binarySearch(int, int, K, Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.GapList
- binarySearch(int, int, K, Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.IList
-
Searches the specified range for an object using the binary search algorithm.
- binarySearch(int, int, K, Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- binarySearch(long[], int, int, long) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(short[], int, int, short) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- binarySearch(List<? extends E>, E, Comparator<? super E>, SortedLists.KeyPresentBehavior, SortedLists.KeyAbsentBehavior) - Static method in class org.magicwerk.brownies.collections.helper.SortedLists
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(K, Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.IList
-
Searches the specified range for an object using the binary* search algorithm.
- binarySearch(IBooleanList, boolean, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.BooleanBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(IByteList, byte, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.ByteBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(ICharList, char, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.CharBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(IDoubleList, double, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.DoubleBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(IFloatList, float, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.FloatBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(IIntList, int, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.IntBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(ILongList, long, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.LongBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearch(IShortList, short, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.ShortBinarySearch
-
Searches the specified list for the specified object using the binary search algorithm.
- binarySearchAdd(List<? extends E>, E, Comparator<? super E>) - Static method in class org.magicwerk.brownies.collections.helper.SortedLists
-
Return the index of the first list element that compares as greater than the key, or
list.size()if there is no such element. - binarySearchAny(List<? extends E>, E, Comparator<? super E>) - Static method in class org.magicwerk.brownies.collections.helper.SortedLists
-
Return the index of an arbitrary list element that compares as equal to the key.
- binarySearchGet(List<? extends E>, E, Comparator<? super E>) - Static method in class org.magicwerk.brownies.collections.helper.SortedLists
-
Return the index of the first list element that compares as equal to the key.
- blockSize() - Method in class org.magicwerk.brownies.collections.BigList
-
Returns block size used for this BigList.
- BooleanBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type boolean.
- BooleanBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.BooleanBinarySearch
- BooleanMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- build() - Method in class org.magicwerk.brownies.collections.Key1Collection.Builder
- build() - Method in class org.magicwerk.brownies.collections.Key1List.Builder
- build() - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- build() - Method in class org.magicwerk.brownies.collections.Key2Collection.Builder
- build() - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- build() - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- build() - Method in class org.magicwerk.brownies.collections.KeyCollection.Builder
- build() - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNCollection.Builder
- build() - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNList.Builder
- build() - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- build() - Method in class org.magicwerk.brownies.collections.KeyList.Builder
-
Create collection with specified options.
- build() - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- buildCollection(UnaryOperator<Key1Collection.Builder<E, K>>) - Static method in class org.magicwerk.brownies.collections.Key1Collection
-
Build
Key1Collectionwith specified builder function - buildCollection(UnaryOperator<Key1Collection.Builder<E, K>>) - Static method in class org.magicwerk.brownies.collections.Key1Set
-
Use
Key1Set.buildSet(java.util.function.UnaryOperator<org.magicwerk.brownies.collections.Key1Set.Builder<E, K>>)instead (method will throw exception) - buildCollection(UnaryOperator<Key2Collection.Builder<E, K1, K2>>) - Static method in class org.magicwerk.brownies.collections.Key2Collection
-
Build
Key2Collectionwith specified builder function - buildCollection(UnaryOperator<Key2Collection.Builder<E, K1, K2>>) - Static method in class org.magicwerk.brownies.collections.Key2Set
-
Use
Key2Set.buildSet(java.util.function.UnaryOperator<org.magicwerk.brownies.collections.Key2Set.Builder<E, K1, K2>>)instead (method will throw exception) - buildCollection(UnaryOperator<KeyCollection.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeyCollection
-
Build
KeyCollectionwith specified builder function - buildCollection(UnaryOperator<KeyCollection.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeySet
-
Use
KeySet.buildSet(java.util.function.UnaryOperator<org.magicwerk.brownies.collections.KeySet.Builder<E>>)instead (method will throw exception) - buildCollection(UnaryOperator<KeyCollections.KeyNCollection.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeyCollections.KeyNCollection
-
Build
KeyCollections.KeyNListwith specified builder function - Builder() - Constructor for class org.magicwerk.brownies.collections.Key1Collection.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.Key1List.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.Key1Set.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.Key2Collection.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.Key2List.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.Key2Set.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.KeyCollection.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNCollection.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNList.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.KeyList.Builder
-
Default constructor.
- Builder() - Constructor for class org.magicwerk.brownies.collections.KeySet.Builder
-
Default constructor.
- Builder(Key1Collection<E, K>) - Constructor for class org.magicwerk.brownies.collections.Key1Collection.Builder
-
Protected constructor used if extending Key1Collection.
- Builder(Key2Collection<E, K1, K2>) - Constructor for class org.magicwerk.brownies.collections.Key2Collection.Builder
-
Protected constructor used if extending Key2Collection.
- Builder(Key2List<E, K1, K2>) - Constructor for class org.magicwerk.brownies.collections.Key2List.Builder
-
Protected constructor used if extending Key2List.
- Builder(Key2Set<E, K1, K2>) - Constructor for class org.magicwerk.brownies.collections.Key2Set.Builder
-
Protected constructor used if extending Key2Set.
- Builder(KeyCollection<E>) - Constructor for class org.magicwerk.brownies.collections.KeyCollection.Builder
-
Protected constructor used if extending KeyCollection.
- Builder(KeyCollections.KeyNCollection<E>) - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNCollection.Builder
-
Protected constructor used if extending KeyNCollection.
- Builder(KeyCollections.KeyNList<E>) - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNList.Builder
-
Protected constructor used if extending KeyNList.
- Builder(KeyCollections.KeyNSet<E>) - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
-
Protected constructor used if extending KeyNSet.
- Builder(KeyList<E>) - Constructor for class org.magicwerk.brownies.collections.KeyList.Builder
-
Protected constructor used if extending KeyList.
- Builder(KeySet<E>) - Constructor for class org.magicwerk.brownies.collections.KeySet.Builder
-
Protected constructor used if extending KeySet.
- buildList(UnaryOperator<Key1List.Builder<E, K>>) - Static method in class org.magicwerk.brownies.collections.Key1List
-
Build
Key1Listwith specified builder function - buildList(UnaryOperator<Key2List.Builder<E, K1, K2>>) - Static method in class org.magicwerk.brownies.collections.Key2List
-
Build
Key2Listwith specified builder function - buildList(UnaryOperator<KeyCollections.KeyNList.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeyCollections.KeyNList
-
Build
KeyCollections.KeyNListwith specified builder function - buildList(UnaryOperator<KeyList.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeyList
-
Build
KeyListwith specified builder function - buildSet(UnaryOperator<Key1Set.Builder<E, K>>) - Static method in class org.magicwerk.brownies.collections.Key1Set
-
Build
Key1Setwith specified builder function - buildSet(UnaryOperator<Key2Set.Builder<E, K1, K2>>) - Static method in class org.magicwerk.brownies.collections.Key2Set
-
Build
Key2Setwith specified builder function - buildSet(UnaryOperator<KeyCollections.KeyNSet.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet
-
Build
KeyCollections.KeyNListwith specified builder function - buildSet(UnaryOperator<KeySet.Builder<E>>) - Static method in class org.magicwerk.brownies.collections.KeySet
-
Build
KeySetwith specified builder function - ByteBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type byte.
- ByteBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.ByteBinarySearch
- ByteMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
C
- calculateCapacity(int, int, int) - Static method in class org.magicwerk.brownies.collections.helper.CapacityHelper
-
Calculate new capacity.
- capacity() - Method in class org.magicwerk.brownies.collections.BigList
-
As BigList grows and shrinks automatically, the term capacity does not really make sense.
- capacity() - Method in class org.magicwerk.brownies.collections.GapList
- capacity() - Method in class org.magicwerk.brownies.collections.IList
-
Returns capacity of this list.
- capacity() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- CapacityHelper - Class in org.magicwerk.brownies.collections.helper
-
The class CapacityHelper provides a method for calculating a new capacity.
- CapacityHelper() - Constructor for class org.magicwerk.brownies.collections.helper.CapacityHelper
- cast() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- CharBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type char.
- CharBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.CharBinarySearch
- CharMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- checkIndex(int) - Method in class org.magicwerk.brownies.collections.IList
-
Check that specified index is valid for getting/setting elements.
- checkIndexAdd(int) - Method in class org.magicwerk.brownies.collections.IList
-
Check that specified index is valid for adding elements.
- checkLength(int) - Method in class org.magicwerk.brownies.collections.IList
-
Check that specified length is valid (>= 0).
- checkLengths(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Check that both specified lengths are valid (>= 0) and equal.
- checkNonNull(Object) - Method in class org.magicwerk.brownies.collections.IList
-
Check that object is not null.
- checkRange(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Check that specified range is valid.
- clear() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- clear() - Method in class org.magicwerk.brownies.collections.IList
- clear() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- clear() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- clear() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- clear() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- clone() - Method in class org.magicwerk.brownies.collections.BigList
-
Returns a shallow clone of this list.
- clone() - Method in class org.magicwerk.brownies.collections.GapList
- clone() - Method in class org.magicwerk.brownies.collections.IList
-
Returns a shallow clone of this list.
- clone() - Method in class org.magicwerk.brownies.collections.Key1List
- clone() - Method in class org.magicwerk.brownies.collections.Key2List
- clone() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- clone() - Method in class org.magicwerk.brownies.collections.KeyList
- clone() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- CollectionAsSet<K> - Class in org.magicwerk.brownies.collections
-
Implements a Set based on a Collection.
- CollectionAsSet(Collection<K>, boolean, boolean) - Constructor for class org.magicwerk.brownies.collections.CollectionAsSet
- compare(boolean, boolean) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- compare(double, double) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- compare(float, float) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- compare(int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- compare(long, long) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- compare(T, T) - Method in class org.magicwerk.brownies.collections.helper.NaturalComparator
- compare(T, T) - Method in class org.magicwerk.brownies.collections.helper.NullComparator
- compareTo(MutableInt) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Compares this mutable to another in ascending order.
- contains(Object) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- contains(Object) - Method in class org.magicwerk.brownies.collections.IList
- contains(Object) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- contains(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- contains(Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- containsAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- containsAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.IList
- containsAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- containsAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- containsAny(Collection<?>) - Method in class org.magicwerk.brownies.collections.IList
-
Returns true if any of the elements of the specified collection is contained in the list.
- containsIf(Collection<E>, Predicate<? super E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Determines whether the list contains a matching element.
- containsIf(Predicate<? super E>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Determines whether the collection contains a matching element.
- containsIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Determines whether the list contains a matching element.
- containsKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Checks whether the specified key exists in this list.
- containsKey(int, K) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Checks whether the specified key exists in this list.
- containsKey(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- containsKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Checks whether an element with specified key exists.
- containsKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Checks whether an element with specified key exists.
- containsKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Checks whether an element with specified key exists.
- containsKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Checks whether an element with specified key exists.
- containsKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Checks whether an element with specified key exists.
- containsKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Checks whether an element with specified key exists.
- containsValue(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- copy() - Method in class org.magicwerk.brownies.collections.BigList
-
Returns a modifiable shallow copy of this list.
- copy() - Method in class org.magicwerk.brownies.collections.GapList
- copy() - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns a copy of this collection with all its elements.
- copy() - Method in class org.magicwerk.brownies.collections.IList
-
Returns a modifiable shallow copy of this list.
- copy() - Method in class org.magicwerk.brownies.collections.Key1Collection
- copy() - Method in class org.magicwerk.brownies.collections.Key1List
- copy() - Method in class org.magicwerk.brownies.collections.Key1Set
- copy() - Method in class org.magicwerk.brownies.collections.Key2Collection
- copy() - Method in class org.magicwerk.brownies.collections.Key2List
- copy() - Method in class org.magicwerk.brownies.collections.Key2Set
- copy() - Method in class org.magicwerk.brownies.collections.KeyCollection
- copy() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns a copy of this collection with all its elements.
- copy() - Method in class org.magicwerk.brownies.collections.KeyList
- copy() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- copy() - Method in class org.magicwerk.brownies.collections.KeySet
- copy(int, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Copy specified elements.
- count(E) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Counts how many times the element appears in the collection.
- count(E) - Method in class org.magicwerk.brownies.collections.IList
- count(E) - Method in class org.magicwerk.brownies.collections.Key1List
- count(E) - Method in class org.magicwerk.brownies.collections.Key2List
- count(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- count(E) - Method in class org.magicwerk.brownies.collections.KeyList
- count(E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- countDistinct() - Method in class org.magicwerk.brownies.collections.IList
-
Returns count of distinct elements in the list.
- countDistinct() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns count for all distinct elements.
- countDistinct() - Method in class org.magicwerk.brownies.collections.KeyList
- countDistinct() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- countDistinctKeys(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns count of all distinct keys.
- countDistinctKeys(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns count for all distinct keys.
- countDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns count for all distinct keys.
- countDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns count for all distinct keys.
- countDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns count for all distinct keys.
- countDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns count for all distinct keys.
- countDistinctKeys2() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns count for all distinct keys.
- countDistinctKeys2() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns count for all distinct keys.
- countIf(Collection<E>, Predicate<? super E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Counts how many elements in the list match the predicate.
- countIf(Predicate<? super E>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Counts how many elements in the collection match the predicate.
- countIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
- create() - Static method in class org.magicwerk.brownies.collections.BigList
-
Create new list.
- create() - Static method in class org.magicwerk.brownies.collections.GapList
-
Create new list.
- create(E...) - Static method in class org.magicwerk.brownies.collections.BigList
-
Create new list with specified elements.
- create(E...) - Static method in class org.magicwerk.brownies.collections.GapList
-
Create new list with specified elements.
- create(Collection<? extends E>) - Static method in class org.magicwerk.brownies.collections.BigList
-
Create new list with specified elements.
- create(Collection<? extends E>) - Static method in class org.magicwerk.brownies.collections.GapList
-
Create new list with specified elements.
- createWrapperList(Class<?>) - Static method in class org.magicwerk.brownies.collections.helper.BigLists
-
Create a BigList wrapping a primitive BigList, e.g. an IntObjBigList wrapping an IntBigList.
- createWrapperList(Class<?>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Create a GapList wrapping a primitive GapList, e.g. an IntObjGapList wrapping an IntGapList.
- createWrapperList(Class<?>, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Create a GapList wrapping a primitive GapList, e.g. an IntObjGapList wrapping an IntGapList.
- crop() - Method in class org.magicwerk.brownies.collections.BigList
- crop() - Method in class org.magicwerk.brownies.collections.GapList
- crop() - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns an empty copy of this collection.
- crop() - Method in class org.magicwerk.brownies.collections.IList
-
Returns a copy this list but without elements.
- crop() - Method in class org.magicwerk.brownies.collections.Key1Collection
- crop() - Method in class org.magicwerk.brownies.collections.Key1List
- crop() - Method in class org.magicwerk.brownies.collections.Key1Set
- crop() - Method in class org.magicwerk.brownies.collections.Key2Collection
- crop() - Method in class org.magicwerk.brownies.collections.Key2List
- crop() - Method in class org.magicwerk.brownies.collections.Key2Set
- crop() - Method in class org.magicwerk.brownies.collections.KeyCollection
- crop() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns a copy of this collection but without elements.
- crop() - Method in class org.magicwerk.brownies.collections.KeyList
- crop() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- crop() - Method in class org.magicwerk.brownies.collections.KeySet
D
- decrement() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Decrements the value.
- decrementAndGet() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Decrements this instance's value by 1; this method returns the value associated with the instance immediately after the decrement operation.
- DEFAULT_CAPACITY - Static variable in class org.magicwerk.brownies.collections.GapList
-
Default capacity for list
- descendingIterator() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.descendingIterator() - descendingIterator() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.BigList
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.GapList
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Helper method for adding an element to the list.
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doAdd(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doAdd(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Helper method for adding an element to the collection.
- doAddAll(int, IListable<? extends E>) - Method in class org.magicwerk.brownies.collections.BigList
- doAddAll(int, IListable<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Helper method for adding multiple elements to the list.
- doAddAllExplained(KeyCollectionImpl<E>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.Impl
- doAddAllExplained(KeyListImpl<E>, Collection<EE>) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.Impl
- doAddExplained(KeyCollectionImpl<E>, EE) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.Impl
- doAddExplained(KeyListImpl<E>, EE) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.Impl
- doAssign(IList<E>) - Method in class org.magicwerk.brownies.collections.BigList
- doAssign(IList<E>) - Method in class org.magicwerk.brownies.collections.GapList
- doAssign(IList<E>) - Method in class org.magicwerk.brownies.collections.IList
-
Assign this list the content of the that list.
- doAssign(IList<E>) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doClear() - Method in class org.magicwerk.brownies.collections.BigList
- doClear() - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doClear() - Method in class org.magicwerk.brownies.collections.GapList
- doClear() - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doClear() - Method in class org.magicwerk.brownies.collections.IList
- doClear() - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doClear() - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doClear() - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doClear() - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doClone(IList<E>) - Method in class org.magicwerk.brownies.collections.BigList
- doClone(IList<E>) - Method in class org.magicwerk.brownies.collections.GapList
- doClone(IList<E>) - Method in class org.magicwerk.brownies.collections.IList
-
Initialize this object after the bitwise copy has been made by Object.clone().
- doClone(IList<E>) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doCopy() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doCreate(int) - Method in class org.magicwerk.brownies.collections.BigList
- doCreate(int) - Method in class org.magicwerk.brownies.collections.GapList
- doCreate(int) - Method in class org.magicwerk.brownies.collections.IList
-
Create list with specified capacity.
- doCreate(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doCreateArray(Class<T>, int) - Method in class org.magicwerk.brownies.collections.IList
-
Create array.
- doCrop() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.BigList
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.GapList
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.IList
-
Increases the capacity of this list instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doEnsureCapacity(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doGet(int) - Method in class org.magicwerk.brownies.collections.BigList
- doGet(int) - Method in class org.magicwerk.brownies.collections.GapList
- doGet(int) - Method in class org.magicwerk.brownies.collections.IList
-
Helper method for getting an element from the list.
- doGet(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doGetAll(T[], int, int) - Method in class org.magicwerk.brownies.collections.GapList
- doGetAll(T[], int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Helper method to fill the specified elements in an array.
- doGetAll(T[], int, int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doIndexOf(Object, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the first occurrence of the specified element in this list, starting the search at the specified position.
- doIndexOfIf(Predicate<? super E>, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the first element which matches the specified predicate in this list, starting the search at the specified position.
- doInitAll(IListable<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
- doLastIndexOf(Object, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the last occurrence of the specified element in this list, starting the search at the specified position.
- doLastIndexOfIf(Predicate<? super E>, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the last occurrence of the specified element in this list, starting the search at the specified position.
- doModify() - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doModify() - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doModify() - Method in class org.magicwerk.brownies.collections.IList
-
This method is called internally before elements are allocated or freed.
- doModify() - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doModify() - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doModify() - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doModify() - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doPrepareAddBuffer(ByteGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.PrimitiveImpl
- doPrepareAddBuffer(CharGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.PrimitiveImpl
- doPutAll(int, IListable<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
- doRelease() - Method in class org.magicwerk.brownies.collections.BigList
- doReleaseAddBuffer(ByteGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.PrimitiveImpl
- doReleaseAddBuffer(CharGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists.PrimitiveImpl
- doRemove(int) - Method in class org.magicwerk.brownies.collections.BigList
- doRemove(int) - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doRemove(int) - Method in class org.magicwerk.brownies.collections.GapList
- doRemove(int) - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doRemove(int) - Method in class org.magicwerk.brownies.collections.IList
-
Helper method to remove an element.
- doRemove(int) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doRemove(int) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doRemove(int) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doRemove(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doRemove(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.BigList
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.GapList
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Remove specified range of elements from list.
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doRemoveAll(int, int) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doRemoveAllFast(int, int) - Method in class org.magicwerk.brownies.collections.GapList
-
Remove specified range of elements from list as specialized fast operation.
- doRemoveByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Removes element by key.
- doReplace(int, int, IListable<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.BigList
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.GapList
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Sets an element at specified position.
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doReSet(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- doRotate(int, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Internal method to rotate specified elements in the list.
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.BigList
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.GapList
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.GapList.ReadOnlyList
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Helper method for setting an element in the list.
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- doSet(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- DoubleBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type double.
- DoubleBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.DoubleBinarySearch
- DoubleMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- doubleValue() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Returns the value of this MutableInt as a double.
- drag(int, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Drag specified elements.
- DuplicateKeyException - Exception in org.magicwerk.brownies.collections.exceptions
-
Exception thrown if an action is not allowed due to a duplicate key error.
- DuplicateKeyException(Object) - Constructor for exception org.magicwerk.brownies.collections.exceptions.DuplicateKeyException
E
- element() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.element() - element() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- empty() - Static method in class org.magicwerk.brownies.collections.helper.Option
- EMPTY() - Static method in class org.magicwerk.brownies.collections.BigList
- EMPTY() - Static method in class org.magicwerk.brownies.collections.GapList
- ensureCapacity(int) - Method in class org.magicwerk.brownies.collections.IList
-
Increases the capacity of this instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
- ensureCapacity(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- entrySet() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- equals(Object) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- equals(Object) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Compares this object to the specified object.
- equals(Object) - Method in class org.magicwerk.brownies.collections.helper.Option
- equals(Object) - Method in class org.magicwerk.brownies.collections.IList
- equals(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- equals(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- extract(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Removes specified range of elements from list and return them.
- extractIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Removes and returns all elements in the list which match the predicate.
F
- fill(E) - Method in class org.magicwerk.brownies.collections.IList
-
Fill list.
- filter(Collection<E>, Predicate<? super E>, Supplier<C>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new list by applying the specified filter to all elements.
- filter(Predicate<? super E>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Create a new collection by applying the specified filter to all elements.
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Create a new list by applying the specified filter to all elements.
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.Key1Collection
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.Key1Set
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.Key2Collection
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.Key2Set
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.KeyCollection
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- filter(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.KeySet
- filterMap(Collection<E>, Predicate<E>, Function<E, R>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new list by applying the specified filter first and then the mapping function to all elements selected.
- filterMap(Collection<E>, Predicate<E>, Function<E, R>, Supplier<C>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new collection by applying the specified filter first and then the mapping function to all elements selected.
- filterMap(Predicate<E>, Function<E, R>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Create a new list by applying the specified filter first and then the mapping function to all elements selected.
- filterMap(Predicate<E>, Function<E, R>) - Method in class org.magicwerk.brownies.collections.IList
- filterMap(Predicate<E>, Function<E, R>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- finalize() - Method in class org.magicwerk.brownies.collections.BigList
- FIRST_AFTER - org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Return the index of the first list element that compares as greater than the key, or
list.size()if there is no such element. - FIRST_PRESENT - org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Return the index of the first list element that compares as equal to the key.
- flatMap(Collection<E>, Function<E, RC>, Supplier<C>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new list by applying the specified mapping function to all elements.
- flatMap(Function<E, C>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Create a new list by applying the specified mapping function to all elements.
- flatMap(Function<E, C>) - Method in class org.magicwerk.brownies.collections.IList
- flatMap(Function<E, C>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- FloatBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type float.
- FloatBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.FloatBinarySearch
- FloatMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- floatValue() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Returns the value of this MutableInt as a float.
G
- GapList<E> - Class in org.magicwerk.brownies.collections
-
Class {link GapList} combines the strengths of both
ArrayListandLinkedList. - GapList() - Constructor for class org.magicwerk.brownies.collections.GapList
-
Construct a list with the default initial capacity.
- GapList(boolean, GapList<E>) - Constructor for class org.magicwerk.brownies.collections.GapList
-
Constructor used internally, e.g. for ImmutableGapList.
- GapList(int) - Constructor for class org.magicwerk.brownies.collections.GapList
-
Construct a list with specified initial capacity.
- GapList(Collection<? extends E>) - Constructor for class org.magicwerk.brownies.collections.GapList
-
Construct a list to contain the specified elements.
- GapList.ReadOnlyList<E> - Class in org.magicwerk.brownies.collections
-
A read-only version of
GapList. - GapLists - Class in org.magicwerk.brownies.collections.helper
-
Helper class offering various functionality:
- create wrapper list objects wrapping primitive GapLists
- methods interacting with CharSequence, Reader, InputStream
- add methods explaining reason if fails with DuplicateKeyException - GapLists() - Constructor for class org.magicwerk.brownies.collections.helper.GapLists
- GapLists.Impl - Class in org.magicwerk.brownies.collections.helper
-
Class
GapLists.Implmakes protected members ofGapListsImpllocally accessible - GapLists.PrimitiveImpl - Class in org.magicwerk.brownies.collections.helper
-
Class
GapLists.PrimitiveImplmakes protected members ofGapListsPrimitiveImpllocally accessible - GapListsImpl - Class in org.magicwerk.brownies.collections
-
This class implements helper functions.
- GapListsImpl() - Constructor for class org.magicwerk.brownies.collections.GapListsImpl
- get(int) - Method in class org.magicwerk.brownies.collections.GapList
- get(int) - Method in class org.magicwerk.brownies.collections.IList
- get(int) - Method in class org.magicwerk.brownies.collections.IList.IListableFromArray
- get(int) - Method in class org.magicwerk.brownies.collections.IList.IListableFromCollection
- get(int) - Method in class org.magicwerk.brownies.collections.IList.IListableFromList
- get(int) - Method in class org.magicwerk.brownies.collections.IList.IListableFromMult
- get(int) - Method in interface org.magicwerk.brownies.collections.IListable
-
Return element at specified position
- get(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- get(int) - Method in class org.magicwerk.brownies.collections.Listables.IListableArray
- get(int) - Method in class org.magicwerk.brownies.collections.Listables.IListableList
- get(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- getAll(int, int) - Method in class org.magicwerk.brownies.collections.GapList
- getAll(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns specified range of elements from list.
- getAll(E) - Method in class org.magicwerk.brownies.collections.GapList
- getAll(E) - Method in class org.magicwerk.brownies.collections.IList
-
Returns all elements in the list equal to the specified element.
- getAll(E) - Method in class org.magicwerk.brownies.collections.Key1List
- getAll(E) - Method in class org.magicwerk.brownies.collections.Key1Set
- getAll(E) - Method in class org.magicwerk.brownies.collections.Key2List
- getAll(E) - Method in class org.magicwerk.brownies.collections.Key2Set
- getAll(E) - Method in class org.magicwerk.brownies.collections.KeyCollection
- getAll(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns all equal elements.
- getAll(E) - Method in class org.magicwerk.brownies.collections.KeyList
- getAll(E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- getAll(E) - Method in class org.magicwerk.brownies.collections.KeySet
- getAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns a collection with all elements with the specified key.
- getAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns a list with all elements with the specified key.
- getAllByKey(int, Object, Collection<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Fill the collection with all elements with the specified key.
- getAllByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns all elements with specified key.
- getAllByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns all elements with specified key.
- getAllByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Set
- getAllByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns all elements with specified key.
- getAllByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns all elements with specified key.
- getAllByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Set
- getAllByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns all elements with specified key.
- getAllByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns all elements with specified key.
- getAllByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Set
- getAllByKeys(int, Object, int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns all elements with specified keys.
- getAllByKeys(int, Object, int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- getAllByKeys(K1, K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns all elements with specified keys.
- getAllByKeys(K1, K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns all elements with specified keys.
- getAllByKeys(K1, K2) - Method in class org.magicwerk.brownies.collections.Key2Set
- getAllKeys(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns list containing all keys in element order.
- getAllKeys(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns list with all keys in element order.
- getAllKeys1() - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns list with all keys in element order.
- getAllKeys1() - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns list with all keys in element order.
- getAllKeys1() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns list with all keys in element order.
- getAllKeys1() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns list with all keys in element order.
- getAllKeys2() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns list with all keys in element order.
- getAllKeys2() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns list with all keys in element order.
- getAndAdd(int) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments this instance's value by
operand; this method returns the value associated with the instance immediately prior to the addition operation. - getAndAdd(Number) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments this instance's value by
operand; this method returns the value associated with the instance immediately prior to the addition operation. - getAndDecrement() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Decrements this instance's value by 1; this method returns the value associated with the instance immediately prior to the decrement operation.
- getAndIncrement() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments this instance's value by 1; this method returns the value associated with the instance immediately prior to the increment operation.
- getBuilder() - Method in class org.magicwerk.brownies.collections.Key1Collection
- getBuilder() - Method in class org.magicwerk.brownies.collections.Key1List
- getBuilder() - Method in class org.magicwerk.brownies.collections.Key1Set
- getBuilder() - Method in class org.magicwerk.brownies.collections.Key2Collection
- getBuilder() - Method in class org.magicwerk.brownies.collections.Key2List
- getBuilder() - Method in class org.magicwerk.brownies.collections.Key2Set
- getBuilder() - Method in class org.magicwerk.brownies.collections.KeyCollection
- getBuilder() - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNCollection
- getBuilder() - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNList
- getBuilder() - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet
- getBuilder() - Method in class org.magicwerk.brownies.collections.KeyList
- getBuilder() - Method in class org.magicwerk.brownies.collections.KeySet
- getByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns value for specified key.
- getByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns value for given key.
- getByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns element with specified key.
- getByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns element with specified key.
- getByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns element with specified key.
- getByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns element with specified key.
- getByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns element with specified key.
- getByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns element with specified key.
- getComparator(Class<T>) - Static method in class org.magicwerk.brownies.collections.helper.NaturalComparator
-
Return the natural comparator for the class if it implements Comparable, otherwise null is returned.
- getCountByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns number of elements with specified key.
- getCountByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns number of elements with specified key.
- getCountByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns the number of elements with specified key.
- getCountByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns the number of elements with specified key.
- getCountByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns the number of elements with specified key.
- getCountByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns the number of elements with specified key.
- getCountByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns the number of elements with specified key.
- getCountByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns the number of elements with specified key.
- getDefaultElem() - Method in class org.magicwerk.brownies.collections.BigList
- getDefaultElem() - Method in class org.magicwerk.brownies.collections.GapList
- getDefaultElem() - Method in class org.magicwerk.brownies.collections.IList
- getDefaultElem() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- getDistinct() - Method in class org.magicwerk.brownies.collections.IList
-
Returns set with distinct elements in the list.
- getDistinct() - Method in class org.magicwerk.brownies.collections.Key1List
- getDistinct() - Method in class org.magicwerk.brownies.collections.Key2List
- getDistinct() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns all distinct elements in the same order as in the collection.
- getDistinct() - Method in class org.magicwerk.brownies.collections.KeyList
- getDistinct() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- getDistinctKeys(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns set containing all distinct keys.
- getDistinctKeys(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns set with all distinct keys.
- getDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns set with all distinct keys in the same order as in the key map.
- getDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns set with all distinct keys in the same order as in the key map.
- getDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns set with all distinct keys in the same order as in the key map.
- getDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns set with all distinct keys in the same order as in the key map.
- getDistinctKeys2() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns set with all distinct keys in the same order as in the key map.
- getDistinctKeys2() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns set with all distinct keys in the same order as in the key map.
- getFirst() - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns the first element stored in the collection.
- getFirst() - Method in class org.magicwerk.brownies.collections.IList
- getFirst() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- getFirst(Collection<E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Returns the first element stored in the collection.
- getFirstOrNull() - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns the first element stored in the collection.
- getFirstOrNull() - Method in class org.magicwerk.brownies.collections.IList
- getFirstOrNull(Collection<E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Returns the first element stored in the collection.
- getIf(Collection<E>, Predicate<? super E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Returns the first element stored in the collection which matches the predicate.
- getIf(Predicate<? super E>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns the first element stored in the collection which matches the predicate.
- getIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Get first element in the list which matches the predicate.
- getKey() - Method in exception org.magicwerk.brownies.collections.exceptions.DuplicateKeyException
- getKey() - Method in class org.magicwerk.brownies.collections.ImmutableMapEntry
- getKey1Mapper() - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns mapper for key map.
- getKey1Mapper() - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns mapper for key map.
- getKey1Mapper() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns mapper for key map.
- getKey1Mapper() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns mapper for key map.
- getKey2Mapper() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns mapper for key map.
- getKey2Mapper() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns mapper for key map.
- getKeyMapper(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns mapper for specified key map.
- getKeyMapper(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns mapper for specified key map.
- getLast() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.getLast() - getLast() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- getLastOrNull() - Method in class org.magicwerk.brownies.collections.IList
-
Returns the last element stored in the list.
- getSingle() - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns the only element stored in the collection.
- getSingle() - Method in class org.magicwerk.brownies.collections.IList
- getSingle(Collection<E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Returns the only element stored in the collection.
- getSingleOrNull() - Method in interface org.magicwerk.brownies.collections.ICollection
-
Returns the only element stored in the collection or null if the collection is empty.
- getSingleOrNull() - Method in class org.magicwerk.brownies.collections.IList
- getSingleOrNull(Collection<E>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Returns the only element stored in the collection or null if the collection is empty.
- getSortedByKey() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns index of the key controlling the sorting of the collection (with 0 for the element).
- getSortedByKey() - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns index of the key controlling the sorting of the collection (with 0 for the element).
- getValue() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Gets the value as a Integer instance.
- getValue() - Method in class org.magicwerk.brownies.collections.helper.Option
-
Returns stored value.
- getValue() - Method in class org.magicwerk.brownies.collections.ImmutableMapEntry
- getValueOrNull() - Method in class org.magicwerk.brownies.collections.helper.Option
-
Returns stored value of null if no value is stored.
H
- hasElemCount() - Method in class org.magicwerk.brownies.collections.KeyCollection
-
Determines whether this collection is only counting, but not storing all elements.
- hashCode() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- hashCode() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Returns a suitable hash code for this mutable.
- hashCode() - Method in class org.magicwerk.brownies.collections.helper.Option
- hashCode() - Method in class org.magicwerk.brownies.collections.IList
- hashCode() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- hashCode() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- hasNext() - Method in class org.magicwerk.brownies.collections.ImmutableIterator
- hasValue() - Method in class org.magicwerk.brownies.collections.helper.Option
-
Returns true if a value is stored, false otherwise
I
- ICollection<E> - Interface in org.magicwerk.brownies.collections
-
IList is an abstract class which offers all interfaces offered by both ArrayList and LinkedList.
- ICollectionTools - Interface in org.magicwerk.brownies.collections
-
ICollectionTools offers default implementations of Collection functionality.
- IdentMapper<E> - Class in org.magicwerk.brownies.collections.helper
-
Identity mapper.
- IList<E> - Class in org.magicwerk.brownies.collections
-
Class
IListis the abstract class which offers all interfaces implemented by ArrayList. - IList() - Constructor for class org.magicwerk.brownies.collections.IList
- IList.IListableFromArray<E> - Class in org.magicwerk.brownies.collections
-
Wrapper to treat an array as
IListable. - IList.IListableFromCollection<E> - Class in org.magicwerk.brownies.collections
-
Wrapper to treat a
CollectionasIListable. - IList.IListableFromList<E> - Class in org.magicwerk.brownies.collections
-
Wrapper to treat a
ListasIListable. - IList.IListableFromMult<E> - Class in org.magicwerk.brownies.collections
-
Wrapper to treat a repeated element as
IListable. - IListable<E> - Interface in org.magicwerk.brownies.collections
-
Interface
IListableoffers a minimalist interface for accessing a list or an array. - IListableArray(E[]) - Constructor for class org.magicwerk.brownies.collections.Listables.IListableArray
- IListableList(List<E>) - Constructor for class org.magicwerk.brownies.collections.Listables.IListableList
- IListAsDeque<E> - Class in org.magicwerk.brownies.collections
- IListAsDeque(IList<E>) - Constructor for class org.magicwerk.brownies.collections.IListAsDeque
- immutable() - Method in class org.magicwerk.brownies.collections.Key1List.Builder
- immutable() - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- immutable() - Method in class org.magicwerk.brownies.collections.KeyList.Builder
- immutable(E...) - Static method in class org.magicwerk.brownies.collections.GapList
-
Create new immutable list with specified elements.
- immutable(Collection<? extends E>) - Static method in class org.magicwerk.brownies.collections.GapList
-
Create new immutable list with specified elements.
- ImmutableIterator<E> - Class in org.magicwerk.brownies.collections
-
Iterator which prevents changes through the remove() method.
- ImmutableIterator(Iterator<E>) - Constructor for class org.magicwerk.brownies.collections.ImmutableIterator
-
Constructor
- immutableList() - Method in class org.magicwerk.brownies.collections.BigList
- immutableList() - Method in class org.magicwerk.brownies.collections.GapList
- immutableList() - Method in class org.magicwerk.brownies.collections.IList
-
Returns an immutable copy of this list.
- immutableList() - Method in class org.magicwerk.brownies.collections.Key1List
- immutableList() - Method in class org.magicwerk.brownies.collections.Key2List
- immutableList() - Method in class org.magicwerk.brownies.collections.KeyList
- immutableList() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- ImmutableMapEntry<K,E> - Class in org.magicwerk.brownies.collections
-
Read-only implementation of Map.Entry.
- ImmutableMapEntry(K, E) - Constructor for class org.magicwerk.brownies.collections.ImmutableMapEntry
-
Constructor of an immutable map entry.
- Impl() - Constructor for class org.magicwerk.brownies.collections.helper.GapLists.Impl
- increment() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments the value.
- incrementAndGet() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Increments this instance's value by 1; this method returns the value associated with the instance immediately after the increment operation.
- indexOf(Object) - Method in class org.magicwerk.brownies.collections.IList
- indexOf(Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- indexOf(Object, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the first occurrence of the specified element in this list, starting the search at the specified position.
- indexOfIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the first element which matches the specified predicate in this list.
- indexOfIf(Predicate<? super E>, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the first element which matches the specified predicate in this list, starting the search at the specified position.
- indexOfKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Find given key and return its index.
- indexOfKey(int, Object, int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Find given key and return its index.
- indexOfKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns index of first element in list with specified key.
- indexOfKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns index of first element in list with specified key.
- indexOfKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns index of first element in list with specified key.
- initAll(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Initializes the list so it will afterwards only contain the elements of the collection.
- initAll(IList<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Initializes the list so it will afterwards only contain the elements of the collection.
- initArray(E...) - Method in class org.magicwerk.brownies.collections.IList
-
Initializes the list so it will afterwards only contain the elements of the array.
- initClone(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Initialize this object after the bitwise copy has been made by Object.clone().
- initMult(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Initializes the list so it will afterwards have a size of
lenand contain only the elementelem. - INSTANCE() - Static method in class org.magicwerk.brownies.collections.helper.IdentMapper
-
Singleton instance
- INSTANCE() - Static method in class org.magicwerk.brownies.collections.helper.NaturalComparator
-
Returns singleton instance.
- INSTANCE(Class<T>) - Static method in class org.magicwerk.brownies.collections.helper.NaturalComparator
-
Returns singleton instance.
- IntBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type int.
- IntBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.IntBinarySearch
- IntMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- intValue() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Returns the value of this MutableInt as an int.
- invalidate(E) - Method in class org.magicwerk.brownies.collections.Key1Collection
- invalidate(E) - Method in class org.magicwerk.brownies.collections.Key2Collection
- invalidate(E) - Method in class org.magicwerk.brownies.collections.KeyCollection
- invalidate(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Invalidate element, i.e. all keys of the element are extracted again and stored in the key maps.
- invalidate(E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Invalidate element, i.e. all keys of the element are extracted again and stored in the key maps.
- invalidateKey(int, Object, Object, E) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- invalidateKey(int, Object, Object, E) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- invalidateKey(int, Object, Object, E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Invalidate key value of element.
- invalidateKey(int, Object, Object, E) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- invalidateKey(int, Object, Object, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Invalidate key value of element.
- invalidateKey(int, Object, Object, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- invalidateKey1(K1, K1, E) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Invalidate key value of element.
- invalidateKey1(K1, K1, E) - Method in class org.magicwerk.brownies.collections.Key2List
-
Invalidate key value of element.
- invalidateKey1(K, K, E) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Invalidate key value of element.
- invalidateKey1(K, K, E) - Method in class org.magicwerk.brownies.collections.Key1List
-
Invalidate key value of element.
- invalidateKey2(K2, K2, E) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Invalidate key value of element.
- invalidateKey2(K2, K2, E) - Method in class org.magicwerk.brownies.collections.Key2List
-
Invalidate key value of element.
- INVERTED_INSERTION_INDEX - org.magicwerk.brownies.collections.helper.SortedLists.KeyAbsentBehavior
-
Return
~insertionIndex, whereinsertionIndexis defined as the point at which the key would be inserted into the list: the index of the next higher element in the list, orlist.size()if there is no such element. - isEmpty() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- isEmpty() - Method in class org.magicwerk.brownies.collections.IList
- isEmpty() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- isEmpty() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- isEmpty() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- isReadOnly() - Method in class org.magicwerk.brownies.collections.BigList
- isReadOnly() - Method in class org.magicwerk.brownies.collections.GapList
- isReadOnly() - Method in class org.magicwerk.brownies.collections.IList
-
Returns true if this list is either unmodifiable or immutable, false otherwise.
- isReadOnly() - Method in class org.magicwerk.brownies.collections.Key1List
- isReadOnly() - Method in class org.magicwerk.brownies.collections.Key2List
- isReadOnly() - Method in class org.magicwerk.brownies.collections.KeyList
- isReadOnly() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- isSorted() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Determines whether this collection is sorted or not.
- isSorted() - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Determines whether this list is sorted or not.
- iterator() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- iterator() - Method in class org.magicwerk.brownies.collections.IList
- iterator() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- iterator() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- iteratorDistinct() - Method in class org.magicwerk.brownies.collections.IList
-
Returns iterator for distinct elements in the list.
- iteratorDistinct() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns iterator for all distinct elements in the same order as in the collection.
- iteratorDistinct() - Method in class org.magicwerk.brownies.collections.KeyList
- iteratorDistinct() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- iteratorDistinctKeys(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns iterator for all distinct keys.
- iteratorDistinctKeys(int) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns iterator for all distinct keys.
- iteratorDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Returns iterator for all distinct keys in the same order as in the key map.
- iteratorDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key1List
-
Returns iterator for all distinct keys in the same order as in the key map.
- iteratorDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns iterator for all distinct keys in the same order as in the key map.
- iteratorDistinctKeys1() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns iterator for all distinct keys in the same order as in the key map.
- iteratorDistinctKeys2() - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Returns iterator for all distinct keys in the same order as in the key map.
- iteratorDistinctKeys2() - Method in class org.magicwerk.brownies.collections.Key2List
-
Returns iterator for all distinct keys in the same order as in the key map.
K
- Key1Collection<E,K> - Class in org.magicwerk.brownies.collections
-
Key1Collection implements a collection with 1 key.
- Key1Collection() - Constructor for class org.magicwerk.brownies.collections.Key1Collection
-
Protected constructor used by builder or derived collections.
- Key1Collection.Builder<E,K> - Class in org.magicwerk.brownies.collections
-
Builder to construct
Key1Collectioninstances. - Key1CollectionImplBuilder() - Constructor for class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
- Key1List<E,K> - Class in org.magicwerk.brownies.collections
-
Key1List implements a key list with 1 key.
- Key1List() - Constructor for class org.magicwerk.brownies.collections.Key1List
-
Protected constructor used by builder or derived collections.
- Key1List(Key1List<E, K>) - Constructor for class org.magicwerk.brownies.collections.Key1List
- Key1List.Builder<E,K> - Class in org.magicwerk.brownies.collections
-
Builder to construct
Key1Listinstances. - Key1List.ReadOnlyKey1List<E,K> - Class in org.magicwerk.brownies.collections
-
A read-only version of
Key1List. - Key1Set<E,K> - Class in org.magicwerk.brownies.collections
-
Key1Set implements a set.
- Key1Set() - Constructor for class org.magicwerk.brownies.collections.Key1Set
-
Protected constructor used by builder or derived collections.
- Key1Set.Builder<E,K> - Class in org.magicwerk.brownies.collections
-
Builder to construct
Key1Setinstances. - Key2Collection<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
Key2Collection implements a collection with 2 keys.
- Key2Collection() - Constructor for class org.magicwerk.brownies.collections.Key2Collection
-
Protected constructor used by builder or derived collections.
- Key2Collection.Builder<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
Builder to construct Key2Collection instances.
- Key2CollectionImplBuilder() - Constructor for class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
- Key2List<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
Key2List implements a key list with 2 keys.
- Key2List() - Constructor for class org.magicwerk.brownies.collections.Key2List
-
Protected constructor used by builder or derived collections.
- Key2List(Key2List<E, K1, K2>) - Constructor for class org.magicwerk.brownies.collections.Key2List
- Key2List.Builder<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
Builder to construct Key2List instances.
- Key2List.ReadOnlyKey2List<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
A read-only version of
Key2List. - Key2Set<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
Key2Set implements a set.
- Key2Set() - Constructor for class org.magicwerk.brownies.collections.Key2Set
-
Protected constructor used by builder or derived collections.
- Key2Set.Builder<E,K1,K2> - Class in org.magicwerk.brownies.collections
-
Builder to construct Key2Set instances.
- KeyCollection<E> - Class in org.magicwerk.brownies.collections
-
KeyCollection implements a collection.
- KeyCollection() - Constructor for class org.magicwerk.brownies.collections.KeyCollection
-
Protected constructor used by builder or derived collections.
- KeyCollection.Builder<E> - Class in org.magicwerk.brownies.collections
-
Builder to construct KeyCollection instances.
- KeyCollectionAsMap<K,E> - Class in org.magicwerk.brownies.collections
-
Implements a Map based on a key map in a KeyCollection or KeyList.
- KeyCollectionAsMap(KeyCollectionImpl<E>, int, boolean) - Constructor for class org.magicwerk.brownies.collections.KeyCollectionAsMap
- KeyCollectionAsMap(KeyListImpl<E>, int, boolean) - Constructor for class org.magicwerk.brownies.collections.KeyCollectionAsMap
- KeyCollectionAsSet<E> - Class in org.magicwerk.brownies.collections
-
Implements a Set based on a Collection.
- KeyCollectionAsSet(KeyCollectionImpl<E>, boolean) - Constructor for class org.magicwerk.brownies.collections.KeyCollectionAsSet
- KeyCollectionImpl<E> - Class in org.magicwerk.brownies.collections
-
Add: - validation fails: null / constraint - duplicate not allowed (mode replace) Triggers: - triggers are called after the add/remove operation has finished - if an exception is thrown in the trigger, the change already made to the collection is not undone
- KeyCollectionImpl.Key1CollectionImplBuilder<E,K,B extends KeyCollectionImpl.KeyCollectionImplBuilder<E,B>> - Class in org.magicwerk.brownies.collections
- KeyCollectionImpl.Key2CollectionImplBuilder<E,K1,K2,B extends KeyCollectionImpl.Key1CollectionImplBuilder<E,K1,B>> - Class in org.magicwerk.brownies.collections
- KeyCollectionImpl.KeyCollectionImplBuilder<E,B extends KeyCollectionImpl.KeyCollectionImplBuilder<E,B>> - Class in org.magicwerk.brownies.collections
-
Implementation of builder.
- KeyCollectionImpl.KeyCollectionImplBuilder.KeyMapBuilder<E,K> - Class in org.magicwerk.brownies.collections
- KeyCollectionImplBuilder() - Constructor for class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- KeyCollections - Class in org.magicwerk.brownies.collections
-
Helper class to instances of key list, key collection, key set with more than 2 keys.
- KeyCollections() - Constructor for class org.magicwerk.brownies.collections.KeyCollections
- KeyCollections.KeyNCollection<E> - Class in org.magicwerk.brownies.collections
-
Class
KeyCollections.KeyNCollectionimplements a key collection with a dynamic number of keys. - KeyCollections.KeyNCollection.Builder<E> - Class in org.magicwerk.brownies.collections
-
Builder for
KeyCollections.KeyNCollection. - KeyCollections.KeyNList<E> - Class in org.magicwerk.brownies.collections
-
Class
KeyCollections.KeyNListimplements a key list with a dynamic number of keys. - KeyCollections.KeyNList.Builder<E> - Class in org.magicwerk.brownies.collections
-
Builder for
KeyCollections.KeyNList. - KeyCollections.KeyNSet<E> - Class in org.magicwerk.brownies.collections
-
Class
KeyCollections.KeyNSetimplements a key set with a dynamic number of keys. - KeyCollections.KeyNSet.Builder<E> - Class in org.magicwerk.brownies.collections
-
Builder for
KeyCollections.KeyNSet. - KeyException - Exception in org.magicwerk.brownies.collections.exceptions
-
All exceptions thrown in KeyCollection/KeyList implementations are of type KeyException.
- KeyException() - Constructor for exception org.magicwerk.brownies.collections.exceptions.KeyException
- KeyException(String) - Constructor for exception org.magicwerk.brownies.collections.exceptions.KeyException
- KeyException(String, Throwable) - Constructor for exception org.magicwerk.brownies.collections.exceptions.KeyException
- KeyException(Throwable) - Constructor for exception org.magicwerk.brownies.collections.exceptions.KeyException
- KeyList<E> - Class in org.magicwerk.brownies.collections
-
KeyList implements a list.
- KeyList() - Constructor for class org.magicwerk.brownies.collections.KeyList
-
Protected constructor used by builder or derived collections.
- KeyList(KeyList<E>) - Constructor for class org.magicwerk.brownies.collections.KeyList
- KeyList.Builder<E> - Class in org.magicwerk.brownies.collections
-
Builder to construct KeyList instances.
- KeyList.ReadOnlyKeyList<E> - Class in org.magicwerk.brownies.collections
-
A read-only version of
KeyList. - KeyListImpl<E> - Class in org.magicwerk.brownies.collections
-
A KeyList add key handling features to GapList.
- KeyListImpl(KeyListImpl<E>) - Constructor for class org.magicwerk.brownies.collections.KeyListImpl
- KeyListImpl.ReadOnlyKeyListImpl<E> - Class in org.magicwerk.brownies.collections
-
A read-only version of
KeyList. - KeyMapBuilder() - Constructor for class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder.KeyMapBuilder
- KeyNCollection() - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNCollection
- KeyNList() - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNList
- KeyNSet() - Constructor for class org.magicwerk.brownies.collections.KeyCollections.KeyNSet
- keySet() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- KeySet<E> - Class in org.magicwerk.brownies.collections
-
KeySet implements a set.
- KeySet() - Constructor for class org.magicwerk.brownies.collections.KeySet
-
Protected constructor used by builder or derived collections.
- KeySet.Builder<E> - Class in org.magicwerk.brownies.collections
-
Builder to construct KeySet instances.
L
- LAST_BEFORE - org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Return the index of the last list element that compares as less than the key, or
-1if there is no such element. - LAST_PRESENT - org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Return the index of the last list element that compares as equal to the key.
- lastIndexOf(Object) - Method in class org.magicwerk.brownies.collections.IList
- lastIndexOf(Object, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the last occurrence of the specified element in this list, starting the search at the specified position.
- lastIndexOfIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the last element which matches the specified predicate in this list.
- lastIndexOfIf(Predicate<? super E>, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns the index of the last occurrence of the specified element in this list, starting the search at the specified position.
- Listables - Class in org.magicwerk.brownies.collections
- Listables() - Constructor for class org.magicwerk.brownies.collections.Listables
- Listables.IListableArray<E> - Class in org.magicwerk.brownies.collections
-
Class
Listables.IListableArrayimplements theIListableinterface for arrays. - Listables.IListableList<E> - Class in org.magicwerk.brownies.collections
- listIterator() - Method in class org.magicwerk.brownies.collections.IList
- listIterator(int) - Method in class org.magicwerk.brownies.collections.IList
- LongBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type long.
- LongBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.LongBinarySearch
- LongMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- longValue() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Returns the value of this MutableInt as a long.
M
- map(Collection<E>, Function<E, R>, Supplier<C>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new list by applying the specified mapping function to all elements.
- map(Function<E, R>) - Method in class org.magicwerk.brownies.collections.GapList
- map(Function<E, R>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Create a new list by applying the specified mapping function to all elements.
- map(Function<E, R>) - Method in class org.magicwerk.brownies.collections.IList
- map(Function<E, R>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- mapFilter(Collection<E>, Function<E, R>, Predicate<R>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new list by applying the specified mapping function to all elements and then filtering it.
- mapFilter(Collection<E>, Function<E, R>, Predicate<R>, Supplier<C>) - Static method in interface org.magicwerk.brownies.collections.ICollectionTools
-
Create a new collection by applying the specified mapping function to all elements and then filtering it.
- mapFilter(Function<E, R>, Predicate<R>) - Method in interface org.magicwerk.brownies.collections.ICollection
-
Create a new list by applying the specified mapping function to all elements and then filtering it.
- mapFilter(Function<E, R>, Predicate<R>) - Method in class org.magicwerk.brownies.collections.IList
- mapFilter(Function<E, R>, Predicate<R>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- MergeSort<E> - Class in org.magicwerk.brownies.collections.helper
-
This class implements a stable in-place merge sort.
- MESSAGE - Static variable in exception org.magicwerk.brownies.collections.exceptions.DuplicateKeyException
- move(int, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Move specified elements.
- MutableInt - Class in org.magicwerk.brownies.collections.helper
-
A mutable
intwrapper. - MutableInt() - Constructor for class org.magicwerk.brownies.collections.helper.MutableInt
-
Constructs a new MutableInt with the default value of zero.
- MutableInt(int) - Constructor for class org.magicwerk.brownies.collections.helper.MutableInt
-
Constructs a new MutableInt with the specified value.
- MutableInt(Number) - Constructor for class org.magicwerk.brownies.collections.helper.MutableInt
-
Constructs a new MutableInt with the specified value.
- MutableInt(String) - Constructor for class org.magicwerk.brownies.collections.helper.MutableInt
-
Constructs a new MutableInt parsing the given string.
N
- NaturalComparator<T> - Class in org.magicwerk.brownies.collections.helper
-
The NaturalComparator will compare object using their natural order.
- next() - Method in class org.magicwerk.brownies.collections.ImmutableIterator
- NEXT_HIGHER - org.magicwerk.brownies.collections.helper.SortedLists.KeyAbsentBehavior
-
Return the index of the next higher element in the list, or
list.size()if there is no such element. - NEXT_LOWER - org.magicwerk.brownies.collections.helper.SortedLists.KeyAbsentBehavior
-
Return the index of the next lower element in the list, or
-1if there is no such element. - NullComparator<T> - Class in org.magicwerk.brownies.collections.helper
-
Class
NullComparatorextends an existing comparator so it can handle null values. - NullComparator(Comparator<T>, boolean) - Constructor for class org.magicwerk.brownies.collections.helper.NullComparator
-
Constructor.
O
- of(T) - Static method in class org.magicwerk.brownies.collections.helper.Option
- offer(E) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.offer(E) - offer(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- offerFirst(E) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.offerFirst(E) - offerFirst(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- offerLast(E) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.offerLast(E) - offerLast(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- Option<T> - Class in org.magicwerk.brownies.collections.helper
-
Class
Optionstores a single value which may also be null. - Option(T) - Constructor for class org.magicwerk.brownies.collections.helper.Option
-
Construct option with specified value.
- org.magicwerk.brownies.collections - package org.magicwerk.brownies.collections
-
Brownies Collections complements the Java Collections Framework.
- org.magicwerk.brownies.collections.exceptions - package org.magicwerk.brownies.collections.exceptions
-
This packages contains exception classes for the package org.magicwerk.brownies.collections.
- org.magicwerk.brownies.collections.helper - package org.magicwerk.brownies.collections.helper
-
This packages contains helper classes for the package org.magicwerk.brownies.collections.
- org.magicwerk.brownies.collections.helper.primitive - package 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 arrays
P
- peek() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.peek() - peek() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- peekFirst() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.peekFirst() - peekFirst() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- peekLast() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.peekLast() - peekLast() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- poll() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.poll() - poll() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- pollFirst() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.pollFirst() - pollFirst() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- pollLast() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.pollLast() - pollLast() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- pop() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.pop() - pop() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- PrimitiveImpl() - Constructor for class org.magicwerk.brownies.collections.helper.GapLists.PrimitiveImpl
- push(E) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.push(E) - push(E) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- put(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Sets or adds the element.
- put(E) - Method in class org.magicwerk.brownies.collections.Key1Collection
- put(E) - Method in class org.magicwerk.brownies.collections.Key1List
- put(E) - Method in class org.magicwerk.brownies.collections.Key2Collection
- put(E) - Method in class org.magicwerk.brownies.collections.Key2List
- put(E) - Method in class org.magicwerk.brownies.collections.KeyCollection
- put(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Adds or replaces element.
- put(E) - Method in class org.magicwerk.brownies.collections.KeyList
- put(E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Adds or replaces element.
- put(K, E) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- putAll(int, Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Set or add the specified elements.
- putAll(int, IList<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Set or add the specified elements.
- putAll(Map<? extends K, ? extends E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- putArray(int, E...) - Method in class org.magicwerk.brownies.collections.IList
-
Set or add the specified elements.
- putByKey(int, E, boolean) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- putByKey(int, E, boolean) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- putByKey(int, E, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- putByKey(int, E, boolean) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- putByKey(int, E, boolean) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Put element by key into list.
- putByKey(int, E, boolean) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- putByKey1(E) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Adds element by key.
- putByKey1(E) - Method in class org.magicwerk.brownies.collections.Key1List
-
Adds element by key.
- putByKey1(E) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Adds element by key.
- putByKey1(E) - Method in class org.magicwerk.brownies.collections.Key2List
-
Adds or replaces element by key.
- putByKey2(E) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Adds element by key.
- putByKey2(E) - Method in class org.magicwerk.brownies.collections.Key2List
-
Adds or replaces element by key.
- putIfAbsentByKey1(E) - Method in class org.magicwerk.brownies.collections.Key1List
-
Adds or replaces element by key.
- putIfAbsentByKey1(E) - Method in class org.magicwerk.brownies.collections.Key2List
-
Adds element by key.
- putIfAbsentByKey2(E) - Method in class org.magicwerk.brownies.collections.Key2List
-
Adds element by key.
- putMult(int, int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Set or add the specified element multiple times.
R
- read(InputStream, ByteGapList, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Read specified number of bytes from InputStream into ByteGapList.
- read(Reader, CharGapList, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Read specified number of chars from Reader into CharGapList.
- ReadOnlyBigList(BigList<E>) - Constructor for class org.magicwerk.brownies.collections.BigList.ReadOnlyBigList
-
Private constructor used internally.
- ReadOnlyKey1List(Key1List<E, K>) - Constructor for class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
-
Private constructor used internally.
- ReadOnlyKey2List(Key2List<E, K1, K2>) - Constructor for class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
-
Private constructor used internally.
- ReadOnlyKeyList(KeyList<E>) - Constructor for class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
-
Private constructor used internally.
- ReadOnlyKeyListImpl(KeyListImpl<E>) - Constructor for class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
-
Private constructor used internally.
- ReadOnlyList(GapList<E>) - Constructor for class org.magicwerk.brownies.collections.GapList.ReadOnlyList
-
Private constructor used internally.
- release() - Method in class org.magicwerk.brownies.collections.BigList
-
Explicitly release this instance of
BigListby unreferencing all blocks. - remove() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.remove() - remove() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- remove() - Method in class org.magicwerk.brownies.collections.ImmutableIterator
- remove(int) - Method in class org.magicwerk.brownies.collections.GapList
- remove(int) - Method in class org.magicwerk.brownies.collections.IList
- remove(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Remove specified range of elements from list.
- remove(Object) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- remove(Object) - Method in class org.magicwerk.brownies.collections.IList
- remove(Object) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- remove(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- remove(Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- remove(Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- removeAll(E) - Method in class org.magicwerk.brownies.collections.IList
-
Removes all equal elements.
- removeAll(E) - Method in class org.magicwerk.brownies.collections.Key1List
- removeAll(E) - Method in class org.magicwerk.brownies.collections.Key2List
- removeAll(E) - Method in class org.magicwerk.brownies.collections.KeyCollection
- removeAll(E) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Removes all equal elements.
- removeAll(E) - Method in class org.magicwerk.brownies.collections.KeyList
- removeAll(E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- removeAll(E) - Method in class org.magicwerk.brownies.collections.KeySet
- removeAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- removeAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.IList
- removeAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- removeAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- removeAll(IList<?>) - Method in class org.magicwerk.brownies.collections.IList
- removeAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- removeAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- removeAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Removes element by key.
- removeAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- removeAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- removeAllByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Removes element by key.
- removeAllByKey(int, Object, Collection<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- removeAllByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Removes all elements with specified key.
- removeAllByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Removes all elements with specified key.
- removeAllByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Set
- removeAllByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Removes all elements with specified key.
- removeAllByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Removes all elements with specified key.
- removeAllByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Set
- removeAllByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Removes all elements with specified key.
- removeAllByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Removes all elements with specified key.
- removeAllByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Set
- removeByKey(int, Object) - Method in class org.magicwerk.brownies.collections.Key1List.ReadOnlyKey1List
- removeByKey(int, Object) - Method in class org.magicwerk.brownies.collections.Key2List.ReadOnlyKey2List
- removeByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- removeByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyList.ReadOnlyKeyList
- removeByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl.ReadOnlyKeyListImpl
- removeByKey(int, Object) - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Removes element by key.
- removeByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1Collection
-
Removes element with specified key.
- removeByKey1(K) - Method in class org.magicwerk.brownies.collections.Key1List
-
Removes element with specified key.
- removeByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Removes element with specified key.
- removeByKey1(K1) - Method in class org.magicwerk.brownies.collections.Key2List
-
Removes element with specified key.
- removeByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2Collection
-
Removes element with specified key.
- removeByKey2(K2) - Method in class org.magicwerk.brownies.collections.Key2List
-
Removes element with specified key.
- removeFirst() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.removeFirst() - removeFirst() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- removeFirstOccurrence(Object) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.removeFirstOccurrence(java.lang.Object) - removeFirstOccurrence(Object) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- removeIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Removes all elements in the list which match the predicate.
- removeLast() - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.removeLast() - removeLast() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- removeLastOccurrence(Object) - Method in class org.magicwerk.brownies.collections.IList
-
See
Deque.removeLastOccurrence(java.lang.Object) - removeLastOccurrence(Object) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- replace(int, int, IListable<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
- replaceAll(int, int, Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Replaces the specified range with new elements.
- replaceAll(int, int, IList<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Replaces the specified range with new elements.
- replaceArray(int, int, E...) - Method in class org.magicwerk.brownies.collections.IList
-
Replaces the specified range with new elements.
- replaceMult(int, int, int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Replaces the specified range with new elements.
- resize(int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Resizes the list so it will afterwards have a size of
len. - resultIndex(int) - Method in enum org.magicwerk.brownies.collections.helper.SortedLists.KeyAbsentBehavior
- resultIndex(Comparator<? super E>, E, List<? extends E>, int) - Method in enum org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
- retain(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Retain specified range of elements from list, the other elements are removed.
- retainAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- retainAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.IList
- retainAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- retainAll(Collection<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- retainAll(IList<?>) - Method in class org.magicwerk.brownies.collections.IList
- retainIf(Predicate<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Retains all elements in the list which match the predicate.
- reverse() - Method in class org.magicwerk.brownies.collections.IList
-
Reverses the order of all elements in the specified list.
- reverse(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Reverses the order of the specified elements in the list.
- rotate(int) - Method in class org.magicwerk.brownies.collections.IList
-
Rotate specified elements in the list.
- rotate(int, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Rotate specified elements in the list.
S
- set(int, E) - Method in class org.magicwerk.brownies.collections.IList
- set(int, E) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- setAll(int, Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Sets the specified elements.
- setAll(int, IList<? extends E>) - Method in class org.magicwerk.brownies.collections.IList
-
Sets the specified elements.
- setArray(int, E...) - Method in class org.magicwerk.brownies.collections.IList
-
Sets the specified elements.
- setArray(int, E[], int, int) - Method in class org.magicwerk.brownies.collections.IList
- setMult(int, int, E) - Method in class org.magicwerk.brownies.collections.IList
-
Sets the element multiple times.
- setValue(int) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Sets the value.
- setValue(E) - Method in class org.magicwerk.brownies.collections.ImmutableMapEntry
- setValue(Number) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Sets the value from any Number instance.
- ShortBinarySearch - Class in org.magicwerk.brownies.collections.helper.primitive
-
Binary search for primitive type short.
- ShortBinarySearch() - Constructor for class org.magicwerk.brownies.collections.helper.primitive.ShortBinarySearch
- ShortMergeSort - Class in org.magicwerk.brownies.collections.helper.primitive
-
This class implements a stable in-place merge sort.
- size() - Method in class org.magicwerk.brownies.collections.BigList
- size() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- size() - Method in class org.magicwerk.brownies.collections.GapList
- size() - Method in class org.magicwerk.brownies.collections.IList.IListableFromArray
- size() - Method in class org.magicwerk.brownies.collections.IList.IListableFromCollection
- size() - Method in class org.magicwerk.brownies.collections.IList.IListableFromList
- size() - Method in class org.magicwerk.brownies.collections.IList.IListableFromMult
- size() - Method in class org.magicwerk.brownies.collections.IList
- size() - Method in interface org.magicwerk.brownies.collections.IListable
-
Return size of list
- size() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- size() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- size() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- size() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- size() - Method in class org.magicwerk.brownies.collections.Listables.IListableArray
- size() - Method in class org.magicwerk.brownies.collections.Listables.IListableList
- sort(boolean[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(byte[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(char[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(double[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(float[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(int[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(int, int, Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.BigList
- sort(int, int, Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.GapList
- sort(int, int, Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Sort specified elements in the list using the specified comparator.
- sort(int, int, Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.KeyListImpl
- sort(long[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(short[], int, int) - Static method in class org.magicwerk.brownies.collections.helper.ArraysHelper
- sort(Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.IList
-
Sort elements in the list using the specified comparator.
- sort(List<E>, Comparator<? super E>) - Static method in class org.magicwerk.brownies.collections.helper.MergeSort
- sort(List<E>, Comparator<? super E>, int, int) - Static method in class org.magicwerk.brownies.collections.helper.MergeSort
- sort(IBooleanList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.BooleanMergeSort
- sort(IBooleanList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.BooleanMergeSort
- sort(IByteList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.ByteMergeSort
- sort(IByteList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.ByteMergeSort
- sort(ICharList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.CharMergeSort
- sort(ICharList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.CharMergeSort
- sort(IDoubleList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.DoubleMergeSort
- sort(IDoubleList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.DoubleMergeSort
- sort(IFloatList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.FloatMergeSort
- sort(IFloatList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.FloatMergeSort
- sort(IIntList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.IntMergeSort
- sort(IIntList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.IntMergeSort
- sort(ILongList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.LongMergeSort
- sort(ILongList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.LongMergeSort
- sort(IShortList) - Static method in class org.magicwerk.brownies.collections.helper.primitive.ShortMergeSort
- sort(IShortList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.primitive.ShortMergeSort
- SortedLists - Class in org.magicwerk.brownies.collections.helper
-
Static methods pertaining to sorted
Listinstances. - SortedLists.KeyAbsentBehavior - Enum in org.magicwerk.brownies.collections.helper
-
A specification for which index to return if the list contains no elements that compare as equal to the key.
- SortedLists.KeyPresentBehavior - Enum in org.magicwerk.brownies.collections.helper
-
A specification for which index to return if the list contains at least one element that compares as equal to the key.
- spliterator() - Method in class org.magicwerk.brownies.collections.BigList
- subtract(int) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Subtracts a value from the value of this instance.
- subtract(Number) - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Subtracts a value from the value of this instance.
- swap(int, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Swap the specified elements in the list.
T
- toArray() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- toArray() - Method in class org.magicwerk.brownies.collections.IList
- toArray() - Method in class org.magicwerk.brownies.collections.IListAsDeque
- toArray() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- toArray(int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns an array containing the specified elements in this list.
- toArray(Class<T>) - Method in class org.magicwerk.brownies.collections.IList
-
Returns an array containing the elements in this list.
- toArray(Class<T>, int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns an array containing the specified elements in this list.
- toArray(T[]) - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- toArray(T[]) - Method in class org.magicwerk.brownies.collections.IList
- toArray(T[]) - Method in class org.magicwerk.brownies.collections.IListAsDeque
- toArray(T[]) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- toArray(T[], int, int) - Method in class org.magicwerk.brownies.collections.IList
-
Returns an array containing the specified elements in this list.
- toBigList() - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Return collector which collects the elements into a
BigList. - toGapList() - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Return collector which collects the elements into a
GapList. - toInteger() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Gets this mutable as an instance of Integer.
- toList() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
-
Returns all elements contained in this collection as list.
- toString() - Method in class org.magicwerk.brownies.collections.CollectionAsSet
- toString() - Method in class org.magicwerk.brownies.collections.helper.MutableInt
-
Returns the String value of this mutable.
- toString() - Method in class org.magicwerk.brownies.collections.helper.Option
- toString() - Method in class org.magicwerk.brownies.collections.IList
- toString() - Method in class org.magicwerk.brownies.collections.ImmutableMapEntry
- toString() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
- toString() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl
- transferAdd(IList<E>, int, int, IList<? super E>, int) - Static method in class org.magicwerk.brownies.collections.IList
-
Copies elements from one list and adds them to another.
- transferCopy(IList<E>, int, int, IList<? super E>, int, int) - Static method in class org.magicwerk.brownies.collections.IList
-
Copies elements from one list to another.
- transferMove(IList<E>, int, int, IList<? super E>, int, int) - Static method in class org.magicwerk.brownies.collections.IList
-
Moves elements from one list to another by setting it to null in the source list.
- transferRemove(IList<E>, int, int, IList<? super E>, int, int) - Static method in class org.magicwerk.brownies.collections.IList
-
Moves elements from one list to another by removing it from the source list.
- transferSwap(IList<E>, int, IList<E>, int, int) - Static method in class org.magicwerk.brownies.collections.IList
-
Swaps elements from two lists.
- transform(UnaryOperator<E>) - Method in class org.magicwerk.brownies.collections.IList
-
Change the list by applying the specified operator to all elements.
- trimToSize() - Method in class org.magicwerk.brownies.collections.BigList
-
Pack as many elements in the blocks as allowed.
- trimToSize() - Method in class org.magicwerk.brownies.collections.GapList
-
Trims the capacity of this GapList instance to be the list's current size.
- trimToSize() - Method in class org.magicwerk.brownies.collections.IList
-
An application can use this operation to minimize the storage of an instance.
- trimToSize() - Method in class org.magicwerk.brownies.collections.KeyListImpl
U
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.BigList
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.GapList
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.IList
-
Returns an unmodifiable view of this list.
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.Key1List
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.Key2List
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.KeyList
- unmodifiableList() - Method in class org.magicwerk.brownies.collections.KeyListImpl
- unwrap() - Method in class org.magicwerk.brownies.collections.KeyListImpl
-
Returns the elements stored in the KeyList as simple IList without constraints etc.
V
- valueOf(String) - Static method in enum org.magicwerk.brownies.collections.helper.SortedLists.KeyAbsentBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.magicwerk.brownies.collections.helper.SortedLists.KeyAbsentBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.magicwerk.brownies.collections.helper.SortedLists.KeyPresentBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.magicwerk.brownies.collections.KeyCollectionAsMap
W
- withAfterDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withAfterDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withAfterDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify delete trigger.
- withAfterDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withAfterInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withAfterInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withAfterInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify insert trigger.
- withAfterInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withBeforeDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withBeforeDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withBeforeDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify delete trigger.
- withBeforeDeleteTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withBeforeInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withBeforeInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withBeforeInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify insert trigger.
- withBeforeInsertTrigger(Consumer<E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withCapacity(int) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withCapacity(int) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withCapacity(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify initial capacity.
- withCapacity(int) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withCapacity(int) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withConstraint(Predicate<E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withConstraint(Predicate<E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withConstraint(Predicate<E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify element constraint.
- withConstraint(Predicate<E>) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withConstraint(Predicate<E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withContent(E...) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withContent(E...) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withContent(E...) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify elements added to the collection upon creation.
- withContent(E...) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withContent(E...) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withContent(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withContent(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withContent(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify elements added to the collection upon creation.
- withContent(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withContent(Collection<? extends E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withElemCount(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollection.Builder
- withElemCount(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies that the collection only counts the number of occurrences of equal elements, but does not store the elements themselves.
- withElemDuplicates(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify whether duplicates are allowed or not.
- withElemDuplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
-
Specify whether duplicates are allowed or not.
- withElemNull(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withElemNull(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withElemNull(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies whether null elements are allowed or not.
- withElemNull(boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withElemSet() - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
-
Add element map (with ident mapper).
- withElemSet() - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
-
Add element map (with ident mapper).
- withElemSet() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Add element map (with ident mapper).
- withElemSet() - Method in class org.magicwerk.brownies.collections.KeySet.Builder
-
Add element map (with ident mapper).
- withElemSort(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withElemSort(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withElemSort(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify that the element set should be sorted using the natural comparator.
- withElemSort(boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withElemSort(Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withElemSort(Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withElemSort(Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Set comparator to use for sorting the element set.
- withElemSort(Comparator<? super E>) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withElemSort(Comparator<? super E>, boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withElemSort(Comparator<? super E>, boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withElemSort(Comparator<? super E>, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Set comparator to use for sorting the element set.
- withElemSort(Comparator<? super E>, boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withKey1Duplicates(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Duplicates(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey1Duplicates(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specify whether duplicates are allowed or not.
- withKey1Duplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Duplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey1Duplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specify whether duplicates are allowed or not.
- withKey1Map(Function<? super E, K>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Map(Function<? super E, K>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Add key map.
- withKey1Map(Function<? super E, K1>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey1Null(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Null(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey1Null(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specify whether null elements are allowed or not.
- withKey1Sort(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Sort(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey1Sort(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Set comparator to use for sorting the key map.
- withKey1Sort(Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Sort(Comparator<? super K>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Set comparator to use for sorting the key map.
- withKey1Sort(Comparator<? super K>, boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withKey1Sort(Comparator<? super K>, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Set comparator to use for sorting the key map.
- withKey1Sort(Comparator<? super K1>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey1Sort(Comparator<? super K1>, boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Duplicates(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Duplicates(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specify whether duplicates are allowed or not.
- withKey2Duplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Duplicates(boolean, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specify whether duplicates are allowed or not.
- withKey2Map(Function<? super E, K2>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Map(Function<? super E, K2>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Add key map.
- withKey2Null(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Null(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specify whether null elements are allowed or not.
- withKey2Sort(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Sort(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Set comparator to use for sorting the key map.
- withKey2Sort(Comparator<? super K2>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Sort(Comparator<? super K2>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Set comparator to use for sorting the key map.
- withKey2Sort(Comparator<? super K2>, boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withKey2Sort(Comparator<? super K2>, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Set comparator to use for sorting the key map.
- withKeyDuplicates(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeyDuplicates(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withKeyDuplicates(int, boolean, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeyDuplicates(int, boolean, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withKeyMap(int, Function) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeyMap(int, Function) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withKeyNull(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeyNull(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withKeySort(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeySort(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withKeySort(int, Comparator<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeySort(int, Comparator<?>) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withKeySort(int, Comparator<?>, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withKeySort(int, Comparator<?>, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withListBig(boolean) - Method in class org.magicwerk.brownies.collections.Key1List.Builder
- withListBig(boolean) - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- withListBig(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify whether list should be stored in an instance of BigList or GapList.
- withListBig(boolean) - Method in class org.magicwerk.brownies.collections.KeyList.Builder
- withListType(Class<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies that the list will store its elements as primitive type.
- withListType(Class<?>) - Method in class org.magicwerk.brownies.collections.KeyList.Builder
- withMaxSize(int) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withMaxSize(int) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withMaxSize(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify maximum size of collection.
- withMaxSize(int) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withMaxSize(int) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withNull(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withNull(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withNull(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies whether null elements are allowed or not.
- withNull(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withNull(boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withOrderByElem(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withOrderByElem(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withOrderByElem(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies that the collection will have the order of the element set.
- withOrderByElem(boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
- withOrderByElem(Class<?>) - Method in class org.magicwerk.brownies.collections.Key1List.Builder
- withOrderByElem(Class<?>) - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- withOrderByElem(Class<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies that the list will have the order of the element set.
- withOrderByElem(Class<?>) - Method in class org.magicwerk.brownies.collections.KeyList.Builder
- withOrderByKey(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withOrderByKey(int, boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withOrderByKey(int, Class<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withOrderByKey(int, Class<?>) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withOrderByKey1(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withOrderByKey1(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withOrderByKey1(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specifies that the collection will have the order of the key map.
- withOrderByKey1(Class<?>) - Method in class org.magicwerk.brownies.collections.Key1List.Builder
- withOrderByKey1(Class<?>) - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- withOrderByKey1(Class<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specifies that the list will have the order of the key map.
- withOrderByKey2(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withOrderByKey2(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specifies that the collection will have the order of the key map.
- withOrderByKey2(Class<?>) - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- withOrderByKey2(Class<?>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specifies that the list will have the order of the key map.
- withPrimaryElem() - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
-
Specify the element to be a primary key.
- withPrimaryElem() - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
-
Specify the element to be a primary key.
- withPrimaryElem() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify the element to be a primary key.
- withPrimaryElem() - Method in class org.magicwerk.brownies.collections.KeySet.Builder
-
Specify the element to be a primary key.
- withPrimaryKey1Map(Function<? super E, K>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withPrimaryKey1Map(Function<? super E, K>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specify this key to be a primary key.
- withPrimaryKey1Map(Function<? super E, K1>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withPrimaryKey2Map(Function<? super E, K2>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withPrimaryKey2Map(Function<? super E, K2>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specify this key to be a primary key.
- withPrimaryKeyMap(int, Function) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withPrimaryKeyMap(int, Function) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withSetBehavior(boolean) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
-
Specifies that the collection behaves like a
Seton adding elements, i.e. - withSetBehavior(boolean) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
-
Specifies that the collection behaves like a
Seton adding elements, i.e. - withSetBehavior(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specifies that the collection behaves like a
Seton adding elements, i.e. - withSetBehavior(boolean) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withSetBehavior(boolean) - Method in class org.magicwerk.brownies.collections.KeySet.Builder
-
Specifies that the collection behaves like a
Seton adding elements, i.e. - withUniqueElem() - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
-
Specify the element to be a unique key.
- withUniqueElem() - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
-
Specify the element to be a unique key.
- withUniqueElem() - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify the element to be a unique key.
- withUniqueElem() - Method in class org.magicwerk.brownies.collections.KeySet.Builder
-
Specify the element to be a unique key.
- withUniqueKey1Map(Function<? super E, K>) - Method in class org.magicwerk.brownies.collections.Key1Set.Builder
- withUniqueKey1Map(Function<? super E, K>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key1CollectionImplBuilder
-
Specify this key to be a unique key.
- withUniqueKey1Map(Function<? super E, K1>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withUniqueKey2Map(Function<? super E, K2>) - Method in class org.magicwerk.brownies.collections.Key2Set.Builder
- withUniqueKey2Map(Function<? super E, K2>) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.Key2CollectionImplBuilder
-
Specify this key to be a unique key.
- withUniqueKeyMap(int, Function) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
- withUniqueKeyMap(int, Function) - Method in class org.magicwerk.brownies.collections.KeyCollections.KeyNSet.Builder
- withWindowSize(int) - Method in class org.magicwerk.brownies.collections.Key1List.Builder
- withWindowSize(int) - Method in class org.magicwerk.brownies.collections.Key2List.Builder
- withWindowSize(int) - Method in class org.magicwerk.brownies.collections.KeyCollectionImpl.KeyCollectionImplBuilder
-
Specify maximum window size of collection.
- withWindowSize(int) - Method in class org.magicwerk.brownies.collections.KeyList.Builder
- write(OutputStream, ByteGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Write specified number of bytes from ByteGapList into OutputStream.
- write(Writer, CharGapList, int, int) - Static method in class org.magicwerk.brownies.collections.helper.GapLists
-
Write specified number of chars from CharGapList into Writer.
All Classes All Packages