Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(int) - Method in class com.aoapps.collections.IntArrayList
-
Appends the specified element to the end of this list.
- add(int) - Method in interface com.aoapps.collections.IntCollection
- add(int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Adds the specified element in sorted position within this list.
- add(int, int) - Method in class com.aoapps.collections.IntArrayList
-
Inserts the specified element at the specified position in this list.
- add(int, int) - Method in interface com.aoapps.collections.IntList
- add(int, int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Not allowed to add to specific indexes.
- add(int, long) - Method in class com.aoapps.collections.LongArrayList
-
Inserts the specified element at the specified position in this list.
- add(int, long) - Method in interface com.aoapps.collections.LongList
- add(int, long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Not allowed to add to specific indexes.
- add(int, E) - Method in class com.aoapps.collections.AutoGrowArrayList
- add(int, E) - Method in class com.aoapps.collections.SortedArrayList
-
Not allowed to add to specific indexes.
- add(int, Integer) - Method in class com.aoapps.collections.IntArrayList
-
Inserts the specified element at the specified position in this list.
- add(int, Long) - Method in class com.aoapps.collections.LongArrayList
-
Inserts the specified element at the specified position in this list.
- add(long) - Method in class com.aoapps.collections.LongArrayList
-
Appends the specified element to the end of this list.
- add(long) - Method in interface com.aoapps.collections.LongCollection
- add(long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Adds the specified element in sorted position within this list.
- add(E) - Method in class com.aoapps.collections.ArraySet
- add(E) - Method in class com.aoapps.collections.ArraySortedSet
- add(E) - Method in class com.aoapps.collections.SortedArrayList
-
Adds the specified element in sorted position within this list.
- add(E) - Method in class com.aoapps.collections.UnionSet
- add(E) - Method in class com.aoapps.collections.UnmodifiableArraySet
- add(Integer) - Method in class com.aoapps.collections.IntArrayList
-
Appends the specified element to the end of this list.
- add(Long) - Method in class com.aoapps.collections.LongArrayList
-
Appends the specified element to the end of this list.
- add(List<E>, E) - Static method in class com.aoapps.collections.MinimalList
-
Adds a new element to a list, returning the (possibly new) list.
- add(U) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Adds a instance to the registry.
- addAll(int, Collection<? extends E>) - Method in class com.aoapps.collections.AutoGrowArrayList
- addAll(int, Collection<? extends E>) - Method in class com.aoapps.collections.SortedArrayList
-
Not allowed to add to a specific index.
- addAll(int, Collection<? extends Integer>) - Method in class com.aoapps.collections.IntArrayList
-
Inserts all of the elements in the specified Collection into this list, starting at the specified position.
- addAll(int, Collection<? extends Integer>) - Method in class com.aoapps.collections.SortedIntArrayList
-
Not allowed to add to a specific index.
- addAll(int, Collection<? extends Long>) - Method in class com.aoapps.collections.LongArrayList
-
Inserts all of the elements in the specified Collection into this list, starting at the specified position.
- addAll(int, Collection<? extends Long>) - Method in class com.aoapps.collections.SortedLongArrayList
-
Not allowed to add to a specific index.
- addAll(Collection<? extends E>) - Method in class com.aoapps.collections.ArraySet
- addAll(Collection<? extends E>) - Method in class com.aoapps.collections.ArraySortedSet
- addAll(Collection<? extends E>) - Method in class com.aoapps.collections.SortedArrayList
-
Adds all of the elements in the specified Collection and sorts during the add.
- addAll(Collection<? extends E>) - Method in class com.aoapps.collections.UnionClassSet
-
Must be a set.
- addAll(Collection<? extends E>) - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- addAll(Collection<? extends E>) - Method in class com.aoapps.collections.UnmodifiableArraySet
- addAll(Collection<? extends Integer>) - Method in class com.aoapps.collections.IntArrayList
-
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.
- addAll(Collection<? extends Integer>) - Method in class com.aoapps.collections.SortedIntArrayList
-
Adds all of the elements in the specified Collection and sorts during the add.
- addAll(Collection<? extends Long>) - Method in class com.aoapps.collections.LongArrayList
-
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.
- addAll(Collection<? extends Long>) - Method in class com.aoapps.collections.SortedLongArrayList
-
Adds all of the elements in the specified Collection and sorts during the add.
- addAll(Set<? extends E>) - Method in class com.aoapps.collections.UnionClassSet
- addAll(Set<? extends E>) - Method in class com.aoapps.collections.UnionSet
-
If the set has size > MAXIMUM_COMBINE_SIZE, the set will be added to the
added
list, which may then be later combined only when needed. - allEquals(byte[], int, int, byte) - Static method in class com.aoapps.collections.AoArrays
-
Checks if all the values in the provided range are equal to
value
. - AoArrays - Class in com.aoapps.collections
-
General-purpose array utilities and constants.
- AoCollections - Class in com.aoapps.collections
-
General-purpose collection utilities and constants.
- AoCollections.PeekIterator<E> - Class in com.aoapps.collections
-
Allows peeking the first element of iteration.
- ArraySet<E> - Class in com.aoapps.collections
-
A compact
Set
implementation that stores the elements in hashCode order. - ArraySet() - Constructor for class com.aoapps.collections.ArraySet
-
Deprecated.This is for convention only, please provide a previously sorted ArrayList for best performance.
- ArraySet(int) - Constructor for class com.aoapps.collections.ArraySet
-
Deprecated.This is for convention only, please provide a previously sorted ArrayList for best performance.
- ArraySet(ArrayList<E>) - Constructor for class com.aoapps.collections.ArraySet
-
Uses the provided elements list without copying, which must already be sorted in hashCode order and unique.
- ArraySet(Collection<? extends E>) - Constructor for class com.aoapps.collections.ArraySet
-
Deprecated.This is for convention only, please provide a previously sorted ArrayList for best performance.
- ArraySortedSet<E> - Class in com.aoapps.collections
-
A compact
SortedSet
implementation that stores the elements in order. - ArraySortedSet() - Constructor for class com.aoapps.collections.ArraySortedSet
- ArraySortedSet(int) - Constructor for class com.aoapps.collections.ArraySortedSet
- ArraySortedSet(Collection<? extends E>) - Constructor for class com.aoapps.collections.ArraySortedSet
- ArraySortedSet(Comparator<? super E>) - Constructor for class com.aoapps.collections.ArraySortedSet
- ArraySortedSet(Comparator<? super E>, int) - Constructor for class com.aoapps.collections.ArraySortedSet
- ArraySortedSet(SortedSet<E>) - Constructor for class com.aoapps.collections.ArraySortedSet
- asCollection(Iterable<E>) - Static method in class com.aoapps.collections.AoCollections
-
Gets a collection from an iterable.
- asList(Iterable<E>) - Static method in class com.aoapps.collections.AoCollections
-
Gets a list from an iterable.
- asSet(Iterable<E>) - Static method in class com.aoapps.collections.AoCollections
-
Gets a set from an iterable.
- asSortedSet(Iterable<E>) - Static method in class com.aoapps.collections.AoCollections
-
Gets a sorted set from an iterable.
- asUnmodifiableSet(E...) - Static method in class com.aoapps.collections.AoArrays
-
Gets an unmodifiable set view with the contents of a backing array.
- AutoGrowArrayList<E> - Class in com.aoapps.collections
-
Automatically extends the size of the list instead of throwing exceptions on set, add, and addAll.
- AutoGrowArrayList() - Constructor for class com.aoapps.collections.AutoGrowArrayList
- AutoGrowArrayList(int) - Constructor for class com.aoapps.collections.AutoGrowArrayList
- AutoGrowArrayList(Collection<E>) - Constructor for class com.aoapps.collections.AutoGrowArrayList
B
- binarySearch(int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Performs a binary search for the provide value.
- binarySearch(long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Performs a binary search for the provide value.
- binarySearchHashCode(int) - Method in class com.aoapps.collections.SortedArrayList
-
Performs a binary search on hashCode values only.
C
- clear() - Method in class com.aoapps.collections.ArraySet
- clear() - Method in class com.aoapps.collections.ArraySortedSet
- clear() - Method in class com.aoapps.collections.IntArrayList
-
Removes all of the elements from this list.
- clear() - Method in class com.aoapps.collections.LongArrayList
-
Removes all of the elements from this list.
- clear() - Method in class com.aoapps.collections.UnionClassSet
- clear() - Method in class com.aoapps.collections.UnionSet
- clear() - Method in class com.aoapps.collections.UnmodifiableArraySet
- clone() - Method in class com.aoapps.collections.IntArrayList
-
Returns a shallow copy of this
IntArrayList
instance. - clone() - Method in class com.aoapps.collections.LongArrayList
-
Returns a shallow copy of this
LongArrayList
instance. - clone() - Method in class com.aoapps.collections.SortedIntArrayList
- clone() - Method in class com.aoapps.collections.SortedLongArrayList
- com.aoapps.collections - module com.aoapps.collections
- com.aoapps.collections - package com.aoapps.collections
- comparator() - Method in class com.aoapps.collections.ArraySortedSet
- compare(byte[], byte[]) - Static method in class com.aoapps.collections.AoArrays
-
Compares two byte[].
- compare(Object, Object) - Method in class com.aoapps.collections.HashCodeComparator
- contains(int) - Method in class com.aoapps.collections.IntArrayList
-
Returns
true
if this list contains the specified element. - contains(int) - Method in interface com.aoapps.collections.IntCollection
- contains(int) - Method in class com.aoapps.collections.IntsAndLongs
- contains(long) - Method in class com.aoapps.collections.LongArrayList
-
Returns
true
if this list contains the specified element. - contains(long) - Method in interface com.aoapps.collections.LongCollection
- contains(Object) - Method in class com.aoapps.collections.ArraySet
- contains(Object) - Method in class com.aoapps.collections.ArraySortedSet
- contains(Object) - Method in class com.aoapps.collections.IntArrayList
-
Returns
true
if this list contains the specified element. - contains(Object) - Method in class com.aoapps.collections.LongArrayList
-
Returns
true
if this list contains the specified element. - contains(Object) - Method in class com.aoapps.collections.UnionClassSet
- contains(Object) - Method in class com.aoapps.collections.UnionMethodSet
- contains(Object) - Method in class com.aoapps.collections.UnionSet
- contains(Object) - Method in class com.aoapps.collections.UnmodifiableArraySet
- contains(Object, Object) - Method in interface com.aoapps.collections.UnionMethodSet.Method
-
Checks if the set returned by the method contains the non-null object element.
- contains(Object, Object) - Method in class com.aoapps.collections.UnionMethodSet.SetMethod
- contains(Object, Object) - Method in class com.aoapps.collections.UnionMethodSet.SingletonMethod
- containsAll(Collection<?>) - Method in class com.aoapps.collections.ArraySet
- containsAll(Collection<?>) - Method in class com.aoapps.collections.ArraySortedSet
- containsAll(Collection<?>) - Method in class com.aoapps.collections.UnionSet
- containsAll(Collection<?>) - Method in class com.aoapps.collections.UnmodifiableArraySet
- containsKey(Map<K, V>, K) - Static method in class com.aoapps.collections.MinimalMap
-
Deprecated.Since empty maps are no longer represented by
null
, invokeMap.containsKey(java.lang.Object)
directly now. - copy(List<E>) - Static method in class com.aoapps.collections.MinimalList
-
Performs a shallow copy of a list.
- copy(Map<K, V>) - Static method in class com.aoapps.collections.MinimalMap
-
Performs a shallow copy of a map.
E
- elementData - Variable in class com.aoapps.collections.IntArrayList
-
The array buffer into which the elements of the ArrayList are stored.
- elementData - Variable in class com.aoapps.collections.LongArrayList
-
The array buffer into which the elements of the ArrayList are stored.
- EMPTY_SORTED_SET - Static variable in class com.aoapps.collections.AoCollections
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
Collections.emptySortedSet()
. - emptyIterator() - Static method in class com.aoapps.collections.AoCollections
-
Deprecated.Use
Collections.emptyIterator()
as of Java 1.7. - emptyList() - Static method in class com.aoapps.collections.MinimalList
-
Gets the empty list representation.
- emptyMap() - Static method in class com.aoapps.collections.MinimalMap
-
Gets the empty map representation.
- emptySortedSet() - Static method in class com.aoapps.collections.AoCollections
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
Collections.emptySortedSet()
. - ensureCapacity(int) - Method in class com.aoapps.collections.IntArrayList
-
Increases the capacity of this
IntArrayList
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 com.aoapps.collections.LongArrayList
-
Increases the capacity of this
LongArrayList
instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument. - entrySet() - Method in class com.aoapps.collections.SortedProperties
-
Deprecated.
- EnumerationIterator<E> - Class in com.aoapps.collections
-
Bridges the gap between Enumeration and Iterator in the opposite direction of Collections.enumeration(Collection);
- EnumerationIterator(Enumeration<E>) - Constructor for class com.aoapps.collections.EnumerationIterator
- equals(byte[], byte[], int, int) - Static method in class com.aoapps.collections.AoArrays
-
Deprecated, for removal: This API element is subject to removal in a future version.
- equals(byte[], int, byte[], int, int) - Static method in class com.aoapps.collections.AoArrays
-
Deprecated, for removal: This API element is subject to removal in a future version.
- equals(Object) - Method in class com.aoapps.collections.IdentityKey
- equals(Collection<?>, Collection<?>) - Static method in class com.aoapps.collections.AoCollections
-
Two collections are considered equal when they are the same size and have the same elements in the same iteration order.
F
- filter(List<? extends E>, Class<? extends R>) - Static method in class com.aoapps.collections.AoCollections
-
Filters a list for all elements of a given class.
- filterByValue(Map<? extends K, ? extends V>, V) - Static method in class com.aoapps.collections.AoCollections
-
Returns a modifiable set of all the keys in a map that match the given value.
- filterByValue(SortedMap<K, ? extends V>, V) - Static method in class com.aoapps.collections.AoCollections
-
Returns a modifiable sorted set of all the keys in a sorted map that match the given value.
- first() - Method in class com.aoapps.collections.ArraySortedSet
G
- get(int) - Method in class com.aoapps.collections.IntArrayList
-
Returns the element at the specified position in this list.
- get(int) - Method in class com.aoapps.collections.LongArrayList
-
Returns the element at the specified position in this list.
- get(Class<T>) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Gets all instances registered of the given class.
- get(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Gets all instances registered of the given class that match the given filter.
- get(List<E>, int) - Static method in class com.aoapps.collections.MinimalList
-
Deprecated.Since empty lists are no longer represented by
null
, invokeList.get(int)
directly now. - get(Map<K, V>, K) - Static method in class com.aoapps.collections.MinimalMap
-
Deprecated.Since empty maps are no longer represented by
null
, invokeMap.get(java.lang.Object)
directly now. - getEntries(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all entries registered of the given class.
- getEntries(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all entries registered of the given class that match the given filter.
- getEntriesFilterKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all entries registered of the given class that match the given filter.
- getEntriesFilterValue(Class<T>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all entries registered of the given class that match the given filter.
- getFirst(Class<T>) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Gets the first instance registered of the given class.
- getFirst(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Gets the first instance registered of the given class that match the given filter.
- getFirstEntry(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first entry registered of the given class.
- getFirstEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first entry registered of the given class that match the given filter.
- getFirstEntryFilterKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first entry registered of the given class that match the given filter.
- getFirstEntryFilterValue(Class<T>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first entry registered of the given class that match the given filter.
- getFirstKey(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first key registered of the given class.
- getFirstKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first key registered of the given class that match the given filter.
- getFirstKeyFilterEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first key registered of the given class that match the given filter.
- getFirstKeyFilterValue(Class<T>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first key registered of the given class that match the given filter.
- getFirstValue(Class<? extends K>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first value registered of the given class.
- getFirstValue(Class<? extends K>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first value registered of the given class that match the given filter.
- getFirstValueFilterEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first value registered of the given class that match the given filter.
- getFirstValueFilterKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the first value registered of the given class that match the given filter.
- getHashInitialCapacity(int) - Static method in class com.aoapps.collections.AoCollections
-
Gets the initial capacity to use for hash-based collections that will contain the given number of elements, assuming the default load factor of
0.75f
. - getInstance() - Static method in class com.aoapps.collections.HashCodeComparator
- getInt(int) - Method in class com.aoapps.collections.IntArrayList
-
Returns the element at the specified position in this list.
- getInt(int) - Method in interface com.aoapps.collections.IntList
- getInt(int) - Method in class com.aoapps.collections.IntsAndLongs
- getKeyComparator() - Method in class com.aoapps.collections.SortedProperties
-
Deprecated.Gets the comparator used to sort the keys.
- getKeys(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all keys registered of the given class.
- getKeys(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all keys registered of the given class that match the given filter.
- getKeysFilterEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all keys registered of the given class that match the given filter.
- getKeysFilterValue(Class<T>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all keys registered of the given class that match the given filter.
- getLast(Class<T>) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Gets the last instance registered of the given class.
- getLast(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicRegistry
-
Gets the last instance registered of the given class that match the given filter.
- getLastEntry(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last entry registered of the given class.
- getLastEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last entry registered of the given class that match the given filter.
- getLastEntryFilterKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last entry registered of the given class that match the given filter.
- getLastEntryFilterValue(Class<T>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last entry registered of the given class that match the given filter.
- getLastKey(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last key registered of the given class.
- getLastKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last key registered of the given class that match the given filter.
- getLastKeyFilterEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last key registered of the given class that match the given filter.
- getLastKeyFilterValue(Class<T>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last key registered of the given class that match the given filter.
- getLastValue(Class<? extends K>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last value registered of the given class.
- getLastValue(Class<? extends K>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last value registered of the given class that match the given filter.
- getLastValueFilterEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last value registered of the given class that match the given filter.
- getLastValueFilterKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the last value registered of the given class that match the given filter.
- getLists(Class<T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets the lists registered for the given class.
- getLong(int) - Method in class com.aoapps.collections.IntsAndLongs
- getLong(int) - Method in class com.aoapps.collections.LongArrayList
-
Returns the element at the specified position in this list.
- getLong(int) - Method in interface com.aoapps.collections.LongList
- getMethod() - Method in class com.aoapps.collections.UnionMethodSet.ReflectionMethod
- getSet(Object) - Method in interface com.aoapps.collections.UnionMethodSet.Method
-
Gets the set view of the method result or
null
if set is not applicable. - getSet(Object) - Method in class com.aoapps.collections.UnionMethodSet.SetMethod
- getSet(Object) - Method in class com.aoapps.collections.UnionMethodSet.SingletonMethod
- getSingleton(Object) - Method in interface com.aoapps.collections.UnionMethodSet.Method
-
Gets the single value that represents the set or
null
if cannot be represented as a single value. - getSingleton(Object) - Method in class com.aoapps.collections.UnionMethodSet.SetMethod
- getSingleton(Object) - Method in class com.aoapps.collections.UnionMethodSet.SingletonMethod
- getValue() - Method in class com.aoapps.collections.IdentityKey
- getValues(Class<? extends K>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all values registered of the given class.
- getValues(Class<? extends K>, Predicate<? super V>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all values registered of the given class that match the given filter.
- getValuesFilterEntry(Class<T>, Predicate<? super Map.Entry<T, V>>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all values registered of the given class that match the given filter.
- getValuesFilterKey(Class<T>, Predicate<? super T>) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Gets all values registered of the given class that match the given filter.
H
- hashCode() - Method in class com.aoapps.collections.IdentityKey
- hashCode(byte[], int, int) - Static method in class com.aoapps.collections.AoArrays
-
Computes hashCode compatible with Arrays.hashCode, but only across the given subset of the array.
- hashCode(Iterable<?>) - Static method in class com.aoapps.collections.AoCollections
-
Computes the hashCode of a collection in a manner consistent with AbstractList.
- HashCodeComparator - Class in com.aoapps.collections
-
Orders objects by hashCode.
- hasNext() - Method in class com.aoapps.collections.AoCollections.PeekIterator
- hasNext() - Method in class com.aoapps.collections.EnumerationIterator
- headSet(E) - Method in class com.aoapps.collections.ArraySortedSet
I
- IdentityKey<T> - Class in com.aoapps.collections
-
Allows any object to be used as a hash key, with identity used for
IdentityKey.hashCode()
andIdentityKey.equals(java.lang.Object)
. - IdentityKey(T) - Constructor for class com.aoapps.collections.IdentityKey
-
Deprecated.
- indexOf(byte[], byte) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(byte[], byte, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(char[], char) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(char[], char, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(double[], double) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(double[], double, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(float[], float) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(float[], float, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(int) - Method in class com.aoapps.collections.IntArrayList
-
Searches for the first occurrence of the given argument, testing for equality using the
equals
method. - indexOf(int) - Method in interface com.aoapps.collections.IntList
- indexOf(int) - Method in class com.aoapps.collections.IntsAndLongs
- indexOf(int) - Method in class com.aoapps.collections.SortedArrayList
-
Finds the first index where the object has the provided hashCode.
- indexOf(int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Searches for the first occurrence of the given value.
- indexOf(int[], int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(int[], int, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(long) - Method in class com.aoapps.collections.LongArrayList
-
Searches for the first occurrence of the given argument, testing for equality using the
equals
method. - indexOf(long) - Method in interface com.aoapps.collections.LongList
- indexOf(long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Searches for the first occurrence of the given value.
- indexOf(long[], long) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(long[], long, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(short[], short) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(short[], short, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(E[], E) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(E[], E, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the first index of an element or
-1
if not found. - indexOf(Object) - Method in class com.aoapps.collections.IntArrayList
-
Searches for the first occurrence of the given argument, testing for equality using the
equals
method. - indexOf(Object) - Method in class com.aoapps.collections.LongArrayList
-
Searches for the first occurrence of the given argument, testing for equality using the
equals
method. - indexOf(Object) - Method in class com.aoapps.collections.SortedArrayList
-
Searches for the first occurrence of the given argument, testing for equality using the
equals
method. - IntArrayList - Class in com.aoapps.collections
-
An ArrayList that stores things using
int[]
instead ofObject[]
. - IntArrayList() - Constructor for class com.aoapps.collections.IntArrayList
-
Constructs an empty list with an initial capacity of ten.
- IntArrayList(int) - Constructor for class com.aoapps.collections.IntArrayList
-
Constructs an empty list with the specified initial capacity.
- IntArrayList(int[]) - Constructor for class com.aoapps.collections.IntArrayList
- IntArrayList(Collection<? extends Number>) - Constructor for class com.aoapps.collections.IntArrayList
-
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
- IntCollection - Interface in com.aoapps.collections
-
A primitive collection.
- IntList - Interface in com.aoapps.collections
-
A List that stores things using
int[]
instead ofObject[]
. - IntsAndLongs - Class in com.aoapps.collections
-
Provides access to an associated list of int's and long's.
- IntsAndLongs(IntList, LongList) - Constructor for class com.aoapps.collections.IntsAndLongs
- isEmpty() - Method in class com.aoapps.collections.ArraySet
- isEmpty() - Method in class com.aoapps.collections.ArraySortedSet
- isEmpty() - Method in class com.aoapps.collections.IntArrayList
-
Tests if this list has no elements.
- isEmpty() - Method in class com.aoapps.collections.LongArrayList
-
Tests if this list has no elements.
- isEmpty() - Method in class com.aoapps.collections.UnionMethodSet
-
Checks if this set is empty.
- isEmpty() - Method in class com.aoapps.collections.UnionSet
- isEmpty() - Method in class com.aoapps.collections.UnmodifiableArraySet
- iterator() - Method in class com.aoapps.collections.ArraySet
- iterator() - Method in class com.aoapps.collections.ArraySortedSet
- iterator() - Method in class com.aoapps.collections.UnionClassSet
- iterator() - Method in class com.aoapps.collections.UnionMethodSet
- iterator() - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- iterator() - Method in class com.aoapps.collections.UnmodifiableArraySet
K
- keys() - Method in class com.aoapps.collections.SortedProperties
-
Deprecated.
L
- last() - Method in class com.aoapps.collections.ArraySortedSet
- lastIndexOf(byte[], byte) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(byte[], byte, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(char[], char) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(char[], char, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(double[], double) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(double[], double, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(float[], float) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(float[], float, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(int) - Method in class com.aoapps.collections.IntArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- lastIndexOf(int) - Method in interface com.aoapps.collections.IntList
- lastIndexOf(int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- lastIndexOf(int[], int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(int[], int, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(long) - Method in class com.aoapps.collections.LongArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- lastIndexOf(long) - Method in interface com.aoapps.collections.LongList
- lastIndexOf(long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- lastIndexOf(long[], long) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(long[], long, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(short[], short) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(short[], short, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(E[], E) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(E[], E, int) - Static method in class com.aoapps.collections.AoArrays
-
Finds the last index of an element or
-1
if not found. - lastIndexOf(Object) - Method in class com.aoapps.collections.IntArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- lastIndexOf(Object) - Method in class com.aoapps.collections.LongArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- lastIndexOf(Object) - Method in class com.aoapps.collections.SortedArrayList
-
Returns the index of the last occurrence of the specified object in this list.
- LongArrayList - Class in com.aoapps.collections
-
An ArrayList that stores things using
long[]
instead ofObject[]
. - LongArrayList() - Constructor for class com.aoapps.collections.LongArrayList
-
Constructs an empty list with an initial capacity of ten.
- LongArrayList(int) - Constructor for class com.aoapps.collections.LongArrayList
-
Constructs an empty list with the specified initial capacity.
- LongArrayList(long[]) - Constructor for class com.aoapps.collections.LongArrayList
- LongArrayList(Collection<? extends Number>) - Constructor for class com.aoapps.collections.LongArrayList
-
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
- LongCollection - Interface in com.aoapps.collections
-
A primitive collection.
- LongList - Interface in com.aoapps.collections
-
A List that stores things using
long[]
instead ofObject[]
.
M
- maxNonNull(T...) - Static method in class com.aoapps.collections.AoArrays
-
Gets the maximum non-null value, or
null
if no non-null value. - merge(Class<V>, Collection<? extends Collection<? extends V>>, Comparator<? super V>) - Static method in class com.aoapps.collections.AoArrays
-
Merges multiple already-sorted collections into one big array.
- method - Variable in class com.aoapps.collections.UnionMethodSet.ReflectionMethod
- MinimalList - Class in com.aoapps.collections
-
MinimalList provides a set of static methods to dynamically choose the most efficient List implementation.
- MinimalMap - Class in com.aoapps.collections
-
MinimalMap provides a set of static methods to dynamically choose the most efficient Map implementation.
N
- newArrayList(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
ArrayList
with a capacity large enough to contain the given number of elements without growing. - newArrayList(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
ArrayList
with a capacity large enough to contain the given number of elements without growing. - newHashMap(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
HashMap
with a capacity large enough to contain the given number of elements without rehashing. - newHashMap(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
HashMap
with a capacity large enough to contain the given number of elements without rehashing. - newHashSet(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
HashSet
with a capacity large enough to contain the given number of elements without rehashing. - newHashSet(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
HashSet
with a capacity large enough to contain the given number of elements without rehashing. - newIdentityHashMap(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
IdentityHashMap
with a capacity large enough to contain the given number of elements without rehashing. - newIdentityHashMap(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
IdentityHashMap
with a capacity large enough to contain the given number of elements without rehashing. - newIntArrayList(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
IntArrayList
with a capacity large enough to contain the given number of elements without growing. - newIntArrayList(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
IntArrayList
with a capacity large enough to contain the given number of elements without growing. - newLinkedHashMap(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
LinkedHashMap
with a capacity large enough to contain the given number of elements without rehashing. - newLinkedHashMap(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
LinkedHashMap
with a capacity large enough to contain the given number of elements without rehashing. - newLinkedHashSet(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
LinkedHashSet
with a capacity large enough to contain the given number of elements without rehashing. - newLinkedHashSet(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
LinkedHashSet
with a capacity large enough to contain the given number of elements without rehashing. - newLongArrayList(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
LongArrayList
with a capacity large enough to contain the given number of elements without growing. - newLongArrayList(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
LongArrayList
with a capacity large enough to contain the given number of elements without growing. - newSortedArrayList(int) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
SortedArrayList
with a capacity large enough to contain the given number of elements without growing. - newSortedArrayList(Integer) - Static method in class com.aoapps.collections.AoCollections
-
Creates a new
SortedArrayList
with a capacity large enough to contain the given number of elements without growing. - next() - Method in class com.aoapps.collections.AoCollections.PeekIterator
- next() - Method in class com.aoapps.collections.EnumerationIterator
- NULL - Static variable in class com.aoapps.collections.IdentityKey
O
- of(T) - Static method in class com.aoapps.collections.IdentityKey
-
Gets the identity key for the given value or
IdentityKey.NULL
for anull
value. - ofNull() - Static method in class com.aoapps.collections.IdentityKey
-
Gets the identity key that represents
null
. - optimalUnmodifiableCollection(Collection<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Gets the optimal implementation for unmodifiable collection.
- optimalUnmodifiableList(List<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Gets the optimal implementation for unmodifiable list.
- optimalUnmodifiableMap(Map<? extends K, ? extends V>) - Static method in class com.aoapps.collections.AoCollections
-
Gets the optimal implementation for unmodifiable map.
- optimalUnmodifiableSet(Set<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Gets the optimal implementation for unmodifiable set.
- optimalUnmodifiableSortedMap(SortedMap<K, ? extends V>) - Static method in class com.aoapps.collections.AoCollections
-
Gets the optimal implementation for unmodifiable sorted map.
- optimalUnmodifiableSortedSet(SortedSet<T>) - Static method in class com.aoapps.collections.AoCollections
-
Gets the optimal implementation for unmodifiable sorted set.
P
- peek() - Method in class com.aoapps.collections.AoCollections.PeekIterator
-
Gets the next value without removing it.
- peekIterator(Iterator<? extends E>) - Static method in class com.aoapps.collections.AoCollections
-
Wraps the provided iterator, allowing peek of first element.
- PolymorphicMultimap<K,
V> - Class in com.aoapps.collections -
A registry of objects by their class, along with all their parent classes and interfaces, up to and including an upper bound.
- PolymorphicMultimap(Class<K>) - Constructor for class com.aoapps.collections.PolymorphicMultimap
- PolymorphicMultimap.Lists<K,
V> - Class in com.aoapps.collections - PolymorphicRegistry<U> - Class in com.aoapps.collections
-
A registry of objects by their class, along with all their parent classes and interfaces, up to and including an upper bound.
- PolymorphicRegistry(Class<U>) - Constructor for class com.aoapps.collections.PolymorphicRegistry
- put(Map<K, V>, K, V) - Static method in class com.aoapps.collections.MinimalMap
-
Puts a new element in a map, returning the (possibly new) map.
- put(K, V) - Method in class com.aoapps.collections.PolymorphicMultimap
-
Puts an key to the registry along with an associated value.
R
- readExternal(ObjectInput) - Method in class com.aoapps.collections.UnmodifiableArraySet
- ReflectionMethod(Class<?>, String) - Constructor for class com.aoapps.collections.UnionMethodSet.ReflectionMethod
- ReflectionMethod(Method) - Constructor for class com.aoapps.collections.UnionMethodSet.ReflectionMethod
- remove(int) - Method in class com.aoapps.collections.IntArrayList
-
Removes the element at the specified position in this list.
- remove(int) - Method in class com.aoapps.collections.LongArrayList
-
Removes the element at the specified position in this list.
- remove(Object) - Method in class com.aoapps.collections.ArraySet
- remove(Object) - Method in class com.aoapps.collections.ArraySortedSet
- remove(Object) - Method in class com.aoapps.collections.IntArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- remove(Object) - Method in class com.aoapps.collections.LongArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- remove(Object) - Method in class com.aoapps.collections.SortedArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- remove(Object) - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- remove(Object) - Method in class com.aoapps.collections.UnmodifiableArraySet
- remove(Map<K, V>, K) - Static method in class com.aoapps.collections.MinimalMap
-
Removes an element from a map, returning the (possibly new) map.
- removeAll(Collection<?>) - Method in class com.aoapps.collections.ArraySet
- removeAll(Collection<?>) - Method in class com.aoapps.collections.ArraySortedSet
- removeAll(Collection<?>) - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- removeAll(Collection<?>) - Method in class com.aoapps.collections.UnmodifiableArraySet
- removeAtIndex(int) - Method in class com.aoapps.collections.IntArrayList
-
Removes the element at the specified position in this list.
- removeAtIndex(int) - Method in interface com.aoapps.collections.IntList
- removeAtIndex(int) - Method in class com.aoapps.collections.LongArrayList
-
Removes the element at the specified position in this list.
- removeAtIndex(int) - Method in interface com.aoapps.collections.LongList
- removeByValue(int) - Method in class com.aoapps.collections.IntArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- removeByValue(int) - Method in interface com.aoapps.collections.IntCollection
- removeByValue(int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- removeByValue(long) - Method in class com.aoapps.collections.LongArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- removeByValue(long) - Method in interface com.aoapps.collections.LongCollection
- removeByValue(long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Removes a single instance of the specified element from this list, if it is present (optional operation).
- removeRange(int, int) - Method in class com.aoapps.collections.IntArrayList
-
Removes from this List all of the elements whose index is between fromIndex, inclusive and toIndex, exclusive.
- removeRange(int, int) - Method in class com.aoapps.collections.LongArrayList
-
Removes from this List all of the elements whose index is between fromIndex, inclusive and toIndex, exclusive.
- retainAll(Collection<?>) - Method in class com.aoapps.collections.ArraySet
- retainAll(Collection<?>) - Method in class com.aoapps.collections.ArraySortedSet
- retainAll(Collection<?>) - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- retainAll(Collection<?>) - Method in class com.aoapps.collections.UnmodifiableArraySet
S
- set(int, int) - Method in class com.aoapps.collections.IntArrayList
-
Replaces the element at the specified position in this list with the specified element.
- set(int, int) - Method in interface com.aoapps.collections.IntList
- set(int, int) - Method in class com.aoapps.collections.SortedIntArrayList
-
Not allowed to set specific indexes.
- set(int, long) - Method in class com.aoapps.collections.LongArrayList
-
Replaces the element at the specified position in this list with the specified element.
- set(int, long) - Method in interface com.aoapps.collections.LongList
- set(int, long) - Method in class com.aoapps.collections.SortedLongArrayList
-
Not allowed to set specific indexes.
- set(int, E) - Method in class com.aoapps.collections.AutoGrowArrayList
- set(int, E) - Method in class com.aoapps.collections.SortedArrayList
-
Not allowed to set specific indexes.
- set(int, Integer) - Method in class com.aoapps.collections.IntArrayList
-
Replaces the element at the specified position in this list with the specified element.
- set(int, Long) - Method in class com.aoapps.collections.LongArrayList
-
Replaces the element at the specified position in this list with the specified element.
- SetMethod(Class<?>, String) - Constructor for class com.aoapps.collections.UnionMethodSet.SetMethod
- SetMethod(Method) - Constructor for class com.aoapps.collections.UnionMethodSet.SetMethod
- Sets - Class in com.aoapps.collections
-
General-purpose utilities for working with
Set
. - singletonIterator(E) - Static method in class com.aoapps.collections.AoCollections
-
Deprecated.Please use
SingletonIterator
from Apache Commons Collections. - SingletonMethod(Class<?>, String) - Constructor for class com.aoapps.collections.UnionMethodSet.SingletonMethod
- SingletonMethod(Method) - Constructor for class com.aoapps.collections.UnionMethodSet.SingletonMethod
- singletonSortedSet(T) - Static method in class com.aoapps.collections.AoCollections
- size - Variable in class com.aoapps.collections.IntArrayList
-
The size of the ArrayList (the number of elements it contains).
- size - Variable in class com.aoapps.collections.LongArrayList
-
The size of the ArrayList (the number of elements it contains).
- size() - Method in class com.aoapps.collections.ArraySet
- size() - Method in class com.aoapps.collections.ArraySortedSet
- size() - Method in class com.aoapps.collections.IntArrayList
-
Returns the number of elements in this list.
- size() - Method in class com.aoapps.collections.IntsAndLongs
- size() - Method in class com.aoapps.collections.LongArrayList
-
Returns the number of elements in this list.
- size() - Method in class com.aoapps.collections.UnionClassSet
- size() - Method in class com.aoapps.collections.UnionMethodSet
-
This is an expensive operation, since every single method is called, and when there are multiple methods for one class, the sets must be merged to avoid redundant values.
- size() - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- size() - Method in class com.aoapps.collections.UnmodifiableArraySet
- SortedArrayList<E> - Class in com.aoapps.collections
-
A
SortedArrayList
stores its elements in hashCode order and provides means of quickly locating objects. - SortedArrayList() - Constructor for class com.aoapps.collections.SortedArrayList
-
Constructs an empty list with an initial capacity of ten.
- SortedArrayList(int) - Constructor for class com.aoapps.collections.SortedArrayList
-
Constructs an empty list with the specified initial capacity.
- SortedIntArrayList - Class in com.aoapps.collections
-
A
SortedIntArrayList
stores is elements in numerical order and provides means of quickly locating objects. - SortedIntArrayList() - Constructor for class com.aoapps.collections.SortedIntArrayList
-
Constructs an empty list with an initial capacity of ten.
- SortedIntArrayList(int) - Constructor for class com.aoapps.collections.SortedIntArrayList
-
Constructs an empty list with the specified initial capacity.
- SortedLongArrayList - Class in com.aoapps.collections
-
A
SortedLongArrayList
stores is elements in numerical order and provides means of quickly locating objects. - SortedLongArrayList() - Constructor for class com.aoapps.collections.SortedLongArrayList
-
Constructs an empty list with an initial capacity of ten.
- SortedLongArrayList(int) - Constructor for class com.aoapps.collections.SortedLongArrayList
-
Constructs an empty list with the specified initial capacity.
- SortedProperties - Class in com.aoapps.collections
-
Deprecated.Please use
SortedProperties
from Apache Commons Collections.As of Java 18, properties will be sorted by default, per [JDK-8231640] (prop) Canonical property storage - Java Bug System.
- SortedProperties() - Constructor for class com.aoapps.collections.SortedProperties
-
Deprecated.
- SortedProperties(Properties) - Constructor for class com.aoapps.collections.SortedProperties
-
Deprecated.
- sortParallelArrays(E[], Object[]...) - Static method in class com.aoapps.collections.AoArrays
-
Sorts parallel arrays in-place.
- subSet(E, E) - Method in class com.aoapps.collections.ArraySortedSet
T
- tailSet(E) - Method in class com.aoapps.collections.ArraySortedSet
- toArray() - Method in class com.aoapps.collections.ArraySet
- toArray() - Method in class com.aoapps.collections.ArraySortedSet
- toArray() - Method in class com.aoapps.collections.IntArrayList
-
Returns an array containing all of the elements in this list in the correct order.
- toArray() - Method in class com.aoapps.collections.LongArrayList
-
Returns an array containing all of the elements in this list in the correct order.
- toArray() - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- toArray() - Method in class com.aoapps.collections.UnmodifiableArraySet
- toArray(T[]) - Method in class com.aoapps.collections.ArraySet
- toArray(T[]) - Method in class com.aoapps.collections.ArraySortedSet
- toArray(T[]) - Method in class com.aoapps.collections.IntArrayList
-
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array.
- toArray(T[]) - Method in class com.aoapps.collections.LongArrayList
-
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array.
- toArray(T[]) - Method in class com.aoapps.collections.UnionSet
-
Triggers combining.
- toArray(T[]) - Method in class com.aoapps.collections.UnmodifiableArraySet
- toArrayInt() - Method in class com.aoapps.collections.IntArrayList
-
Returns an array containing all of the elements in this list in the correct order.
- toArrayInt() - Method in interface com.aoapps.collections.IntCollection
- toArrayLong() - Method in class com.aoapps.collections.LongArrayList
-
Returns an array containing all of the elements in this list in the correct order.
- toArrayLong() - Method in interface com.aoapps.collections.LongCollection
- toString() - Method in class com.aoapps.collections.IdentityKey
- trimToSize() - Method in class com.aoapps.collections.ArraySet
- trimToSize() - Method in class com.aoapps.collections.ArraySortedSet
- trimToSize() - Method in class com.aoapps.collections.IntArrayList
-
Trims the capacity of this
IntArrayList
instance to be the list's current size. - trimToSize() - Method in class com.aoapps.collections.LongArrayList
-
Trims the capacity of this
LongArrayList
instance to be the list's current size.
U
- union(Set<? extends E>...) - Static method in class com.aoapps.collections.Sets
-
Combines multiple sets, maintaining order.
- union(Set<? extends E>, E...) - Static method in class com.aoapps.collections.Sets
-
Combines a set with some new elements, maintaining order.
- union(Set<? extends E>, Set<? extends E>) - Static method in class com.aoapps.collections.Sets
-
Combines two sets, maintaining order.
- UnionClassSet<E> - Class in com.aoapps.collections
-
A union set that assumes objects of different classes are not equal.
- UnionClassSet() - Constructor for class com.aoapps.collections.UnionClassSet
- UnionClassSet(Collection<? extends E>) - Constructor for class com.aoapps.collections.UnionClassSet
- UnionClassSet(Set<? extends E>) - Constructor for class com.aoapps.collections.UnionClassSet
- UnionMethodSet<E> - Class in com.aoapps.collections
-
A union set that assumes objects of different classes are not equal.
- UnionMethodSet(Object, Class<E>, Map<Class<? extends E>, ? extends List<? extends UnionMethodSet.Method<? extends E>>>) - Constructor for class com.aoapps.collections.UnionMethodSet
- UnionMethodSet.Method<E> - Interface in com.aoapps.collections
- UnionMethodSet.ReflectionMethod<E> - Class in com.aoapps.collections
- UnionMethodSet.SetMethod<E> - Class in com.aoapps.collections
-
A set of values will be obtained from the call to the method.
- UnionMethodSet.SingletonMethod<E> - Class in com.aoapps.collections
-
A single value will be obtained from the call to the method.
- UnionSet<E> - Class in com.aoapps.collections
-
In order to efficiently provide a union of fewer, larger sets, this provides a set view on top of other sets.
- UnionSet() - Constructor for class com.aoapps.collections.UnionSet
- UnionSet(Collection<? extends E>) - Constructor for class com.aoapps.collections.UnionSet
- UnionSet(Set<? extends E>) - Constructor for class com.aoapps.collections.UnionSet
- unmodifiable(List<E>) - Static method in class com.aoapps.collections.MinimalList
-
Gets an unmodifiable wrapper around this list.
- unmodifiable(Map<K, V>) - Static method in class com.aoapps.collections.MinimalMap
-
Gets an unmodifiable wrapper around this map.
- UnmodifiableArraySet<E> - Class in com.aoapps.collections
-
An unmodifiable compact
Set
implementation that stores the elements in hashCode order. - UnmodifiableArraySet() - Constructor for class com.aoapps.collections.UnmodifiableArraySet
-
Deprecated.Only required for implementation, do not use directly.
- UnmodifiableArraySet(E...) - Constructor for class com.aoapps.collections.UnmodifiableArraySet
-
Uses the provided elements, which must already be sorted in hashCode order and unique.
- UnmodifiableArraySet(Collection<E>) - Constructor for class com.aoapps.collections.UnmodifiableArraySet
-
Uses the provided elements collection, which must already be sorted in hashCode order and unique.
- unmodifiableCopyCollection(Iterable<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable collection.
- unmodifiableCopyCollection(Collection<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable collection.
- unmodifiableCopyList(Iterable<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable list.
- unmodifiableCopyList(Collection<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable list.
- unmodifiableCopyMap(Map<? extends K, ? extends V>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable map.
- unmodifiableCopySet(Iterable<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable set.
- unmodifiableCopySet(Collection<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable set.
- unmodifiableCopySortedMap(Map<K, ? extends V>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable sorted map.
- unmodifiableCopySortedSet(Iterable<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable sorted set.
- unmodifiableCopySortedSet(Collection<? extends T>) - Static method in class com.aoapps.collections.AoCollections
-
Performs defensive shallow copy and returns unmodifiable sorted set.
- unmodifiableIterator(Iterator<? extends E>) - Static method in class com.aoapps.collections.AoCollections
-
Wraps an iterator to make it unmodifiable.
V
- values(Map<K, V>) - Static method in class com.aoapps.collections.MinimalMap
-
Deprecated.Since empty maps are no longer represented by
null
, invokeMap.values()
directly now. - valuesCopy(Map<K, V>) - Static method in class com.aoapps.collections.MinimalMap
-
Performs a shallow copy of the value collection.
W
- writeExternal(ObjectOutput) - Method in class com.aoapps.collections.UnmodifiableArraySet
All Classes and Interfaces|All Packages|Serialized Form