A C D E F G H I K L M O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int, E) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- add(int, E) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- add(int, E) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- add(int, E) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Not supported.
- add(E) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- add(E) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- add(E) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- add(E) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Inserts the specified element in its sorted position in this list.
- addAll(int, Collection<? extends E>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- addAll(int, Collection<? extends E>) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- addAll(int, Collection<? extends E>) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
- addAll(Collection<? extends E>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- addAll(Collection<? extends E>) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- addAll(Collection<? extends E>) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Appends all elements of the given collection to the end of this list, in the order returned by the collection's iterator.
- addAll(Collection<? extends E>) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
C
- ChunkyList<E> - Interface in fr.dufrenoy.util
-
A
Listbacked by a chain of fixed-size arrays (Chunks), also known as an unrolled linked list. - ChunkyList.GrowingStrategy - Enum in fr.dufrenoy.util
-
Strategy used when inserting an element into a full chunk.
- ChunkyList.ShrinkingStrategy - Enum in fr.dufrenoy.util
-
Strategy used after removing an element from a chunk.
- clear() - Method in interface fr.dufrenoy.util.MultiMap
-
Removes all mappings from this map.
- clear() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- clear() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- clear() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- clear() - Method in class fr.dufrenoy.util.SynchronizedTreeList
- clear() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- clear() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- clear() - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
- clear() - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Removes all elements from this list.
- comparator() - Method in class fr.dufrenoy.util.SynchronizedTreeList
-
Returns the comparator used to order the elements in this list, or an empty
Optionalif the elements are ordered by their natural ordering. - comparator() - Method in interface fr.dufrenoy.util.TreeList
-
Returns the comparator used to order the elements in this list, or an empty
Optionalif the elements are ordered by their natural ordering. - comparator() - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns the comparator used to order the elements in this list, or an empty
Optionalif the elements are ordered by their natural ordering. - compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- contains(Object) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- contains(Object) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- contains(Object) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- contains(Object) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns
trueif this list contains the specified element. - containsAll(Collection<?>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- containsAll(Collection<?>) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- containsKey(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- containsKey(Object) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
- containsKey(K) - Method in interface fr.dufrenoy.util.MultiMap
-
Returns
trueif this map contains a mapping for the specified key. - containsKey(K) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- containsKey(K) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- containsValue(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- containsValue(Object) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
D
- DISAPPEAR_STRATEGY - fr.dufrenoy.util.ChunkyList.ShrinkingStrategy
-
The chunk is simply removed if it becomes empty.
E
- entrySet() - Method in interface fr.dufrenoy.util.MultiMap
-
Returns a
Setview of the mappings contained in this map. - entrySet() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- entrySet() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Returns a
Setview of the entries contained in this map. - entrySet() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- entrySet() - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
- equals(Object) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- equals(Object) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- equals(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- equals(Object) - Method in class fr.dufrenoy.util.SynchronizedTreeList
-
Compares the specified object with this list for equality.
- equals(Object) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- EXTEND_STRATEGY - fr.dufrenoy.util.ChunkyList.GrowingStrategy
-
A new chunk is created after the current one to hold the overflowing element.
F
- forEach(Consumer<? super E>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- fr.dufrenoy.util - module fr.dufrenoy.util
-
The odd-collections module, providing unconventional Java data structures.
- fr.dufrenoy.util - package fr.dufrenoy.util
G
- get(int) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- get(int) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- get(int) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- get(int) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns the element at the specified position in this list.
- get(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- get(Object) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
- get(K) - Method in interface fr.dufrenoy.util.MultiMap
-
Returns the value associated with the specified key, or
nullif no mapping exists. - get(K) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- get(K) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- getChunkSize() - Method in interface fr.dufrenoy.util.ChunkyList
-
Returns the chunk size of this list.
- getChunkSize() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Returns the Chunksize, which is final, so no need for locking.
- getChunkSize() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- getCurrentGrowingStrategy() - Method in interface fr.dufrenoy.util.ChunkyList
-
Returns the current growing strategy.
- getCurrentGrowingStrategy() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- getCurrentGrowingStrategy() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- getCurrentShrinkingStrategy() - Method in interface fr.dufrenoy.util.ChunkyList
-
Returns the current shrinking strategy.
- getCurrentShrinkingStrategy() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- getCurrentShrinkingStrategy() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- getKey(Object) - Method in interface fr.dufrenoy.util.SymmetricMap
-
Returns the key associated with the given value, or empty if not found.
- getKey(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- getKey(Object) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Returns the key associated with the given value, or empty if not found.
- getOpt(K) - Method in interface fr.dufrenoy.util.MultiMap
-
Returns the value associated with the specified key wrapped in an
Optional, or an emptyOptionalif no mapping exists. - getOpt(K) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- getOpt(K) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- getOrCreate(K, Supplier<V>) - Method in interface fr.dufrenoy.util.MultiMap
-
Returns the value associated with the specified key.
- getOrCreate(K, Supplier<V>) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- getOrCreate(K, Supplier<V>) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
H
- hashCode() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- hashCode() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- hashCode() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- hashCode() - Method in class fr.dufrenoy.util.SynchronizedTreeList
-
Returns the hash code value for this list.
- hashCode() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
I
- indexOf(Object) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- indexOf(Object) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- indexOf(Object) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- indexOf(Object) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns the index of the first (and only) occurrence of the specified element in this list, or
-1if it is not present. - inverse() - Method in interface fr.dufrenoy.util.SymmetricMap
-
Returns an independent copy of this map with keys and values swapped.
- inverse() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Returns an independent copy of this map with keys and values swapped, as a
SynchronizedSymmetricMap. - inverse() - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Returns an independent copy of this map with keys and values swapped, as an
UnsynchronizedSymmetricMap. - isEmpty() - Method in interface fr.dufrenoy.util.MultiMap
-
Returns
trueif this map contains no mappings. - isEmpty() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- isEmpty() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- isEmpty() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- isEmpty() - Method in class fr.dufrenoy.util.SynchronizedTreeList
- isEmpty() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- isEmpty() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- iterator() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Returns an iterator over a snapshot of this list taken under a read lock.
- iterator() - Method in class fr.dufrenoy.util.SynchronizedTreeList
-
Returns a snapshot-based iterator over the elements in this list in sorted order.
- iterator() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- iterator() - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns an iterator over the elements in this list in sorted (ascending) order.
K
- keySet() - Method in interface fr.dufrenoy.util.MultiMap
-
Returns a
Setview of the keys contained in this map. - keySet() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- keySet() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Returns a
Setview of the keys contained in this map. - keySet() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- keySet() - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
L
- lastIndexOf(Object) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- lastIndexOf(Object) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- lastIndexOf(Object) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- lastIndexOf(Object) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Equivalent to
UnsynchronizedTreeList.indexOf(Object)since this list contains no duplicates. - listIterator() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Returns a list iterator over a snapshot of this list taken under a read lock.
- listIterator() - Method in class fr.dufrenoy.util.SynchronizedTreeList
- listIterator(int) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Returns a list iterator over a snapshot of this list taken under a read lock, starting at the given index.
- listIterator(int) - Method in class fr.dufrenoy.util.SynchronizedTreeList
-
Returns a snapshot-based list iterator over the elements in this list in sorted order, starting at the specified position.
- listIterator(int) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns a list iterator over the elements in this list in sorted order, starting at the specified position.
M
- merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- MultiMap<K,V> - Interface in fr.dufrenoy.util
-
A recursive multi-dimensional map.
O
- OVERFLOW_STRATEGY - fr.dufrenoy.util.ChunkyList.GrowingStrategy
-
The overflowing element is pushed into the next chunk (created if necessary).
P
- put(K, V) - Method in interface fr.dufrenoy.util.MultiMap
-
Associates the specified value with the specified key.
- put(K, V) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- put(K, V) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- put(K, V) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- put(K, V) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Associates the given key with the given value.
- putAll(Map<? extends K, ? extends V>) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
R
- remove(int) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- remove(int) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- remove(int) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- remove(int) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Removes the element at the specified position in this list.
- remove(Object) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- remove(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- remove(Object) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- remove(Object) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- remove(Object) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
- remove(Object) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Removes the specified element from this list if it is present.
- remove(K) - Method in interface fr.dufrenoy.util.MultiMap
-
Removes the mapping for the specified key, if present.
- remove(K) - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- remove(K) - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- removeAll(Collection<?>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- removeAll(Collection<?>) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- removeAll(Collection<?>) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Removes from this list all elements that are contained in the specified collection.
- removeByValue(Object) - Method in interface fr.dufrenoy.util.SymmetricMap
-
Removes the entry associated with the given value, if present.
- removeByValue(Object) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- removeByValue(Object) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Removes the entry associated with the given value, if present.
- removeIf(Predicate<? super E>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- reorganize() - Method in interface fr.dufrenoy.util.ChunkyList
-
Reorganizes the list by redistributing all elements into chunks of exactly
chunkSizeelements (except possibly the last one). - reorganize() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Reorganizes the list by redistributing all elements into full chunks, holding the write lock for the entire duration of the operation.
- reorganize() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Reorganizes the list by redistributing all elements into chunks of exactly
chunkSizeelements (except possibly the last one). - reorganize(boolean) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Reorganizes the list by redistributing all elements into full chunks.
- replace(K, V) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- replace(K, V, V) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Replaces each value with the result of the given function applied to its key and current value.
- replaceAll(UnaryOperator<E>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- retainAll(Collection<?>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- retainAll(Collection<?>) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- retainAll(Collection<?>) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Retains only the elements in this list that are contained in the specified collection.
S
- safePut(K, V) - Method in interface fr.dufrenoy.util.SymmetricMap
-
Associates the given key with the given value, throwing an exception if the key or value already exists in this map.
- safePut(K, V) - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- safePut(K, V) - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Associates the given key with the given value, throwing an exception if the key or value already exists in this map.
- set(int, E) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- set(int, E) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- set(int, E) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- set(int, E) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Not supported.
- setCurrentGrowingStrategy(ChunkyList.GrowingStrategy) - Method in interface fr.dufrenoy.util.ChunkyList
-
Sets the growing strategy.
- setCurrentGrowingStrategy(ChunkyList.GrowingStrategy) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- setCurrentGrowingStrategy(ChunkyList.GrowingStrategy) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- setCurrentShrinkingStrategy(ChunkyList.ShrinkingStrategy) - Method in interface fr.dufrenoy.util.ChunkyList
-
Sets the shrinking strategy.
- setCurrentShrinkingStrategy(ChunkyList.ShrinkingStrategy) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- setCurrentShrinkingStrategy(ChunkyList.ShrinkingStrategy) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- setStrategies(ChunkyList.GrowingStrategy, ChunkyList.ShrinkingStrategy) - Method in interface fr.dufrenoy.util.ChunkyList
-
Sets both strategies atomically.
- setStrategies(ChunkyList.GrowingStrategy, ChunkyList.ShrinkingStrategy) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Sets both strategies atomically under a single write lock, guaranteeing that no operation can observe an inconsistent intermediate state.
- setStrategies(ChunkyList.GrowingStrategy, ChunkyList.ShrinkingStrategy) - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- size() - Method in interface fr.dufrenoy.util.MultiMap
-
Returns the number of key-value mappings at this level.
- size() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- size() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- size() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- size() - Method in class fr.dufrenoy.util.SynchronizedTreeList
- size() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- size() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- size() - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
- size() - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns the number of elements in this list.
- sort(Comparator<? super E>) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- spliterator() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
-
Returns a
Spliteratorover a snapshot of this list taken under a read lock. - spliterator() - Method in class fr.dufrenoy.util.UnsynchronizedChunkyList
- subList(int, int) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- subList(int, int) - Method in class fr.dufrenoy.util.SynchronizedTreeList
-
Returns a snapshot of the specified range as an independent
UnsynchronizedTreeList. - subList(int, int) - Method in interface fr.dufrenoy.util.TreeList
-
Returns a live view of the portion of this list whose elements range from the element at
fromIndex(inclusive) to the element attoIndex(exclusive). - subList(int, int) - Method in class fr.dufrenoy.util.UnsynchronizedTreeList
-
Returns a live view of the portion of this list whose elements range from the element at
fromIndex(inclusive) to the element attoIndex(exclusive). - SymmetricMap<K,V> - Interface in fr.dufrenoy.util
-
A bijective map where both keys and values are unique.
- SynchronizedChunkyList<E> - Class in fr.dufrenoy.util
-
A thread-safe implementation of
ChunkyList, backed by anUnsynchronizedChunkyListand protected by aReentrantReadWriteLock. - SynchronizedChunkyList() - Constructor for class fr.dufrenoy.util.SynchronizedChunkyList
-
Creates a new
SynchronizedChunkyListwith the default chunk size. - SynchronizedChunkyList(int) - Constructor for class fr.dufrenoy.util.SynchronizedChunkyList
-
Creates a new
SynchronizedChunkyListwith the given chunk size. - SynchronizedChunkyList(int, SynchronizedChunkyList<? extends E>) - Constructor for class fr.dufrenoy.util.SynchronizedChunkyList
-
Creates a copy of the given
SynchronizedChunkyListwith a different chunk size, preserving both strategies. - SynchronizedChunkyList(int, Collection<? extends E>) - Constructor for class fr.dufrenoy.util.SynchronizedChunkyList
-
Creates a new
SynchronizedChunkyListwith the given chunk size containing all elements of the given collection, in the order returned by its iterator. - SynchronizedChunkyList(SynchronizedChunkyList<? extends E>) - Constructor for class fr.dufrenoy.util.SynchronizedChunkyList
-
Creates a faithful copy of the given
SynchronizedChunkyList, preserving its chunk size, both strategies, and the internal chunk structure. - SynchronizedChunkyList(Collection<? extends E>) - Constructor for class fr.dufrenoy.util.SynchronizedChunkyList
-
Creates a new
SynchronizedChunkyListwith the default chunk size containing all elements of the given collection, in the order returned by its iterator. - SynchronizedMultiMap<K,V> - Class in fr.dufrenoy.util
-
A thread-safe implementation of
MultiMap, backed by anUnsynchronizedMultiMapand protected by aReentrantReadWriteLock. - SynchronizedMultiMap() - Constructor for class fr.dufrenoy.util.SynchronizedMultiMap
-
Creates a new empty
SynchronizedMultiMapwith default initial capacity. - SynchronizedMultiMap(int) - Constructor for class fr.dufrenoy.util.SynchronizedMultiMap
-
Creates a new empty
SynchronizedMultiMapwith the specified initial capacity. - SynchronizedMultiMap(MultiMap<? extends K, ? extends V>) - Constructor for class fr.dufrenoy.util.SynchronizedMultiMap
-
Creates a new
SynchronizedMultiMapcontaining the same mappings as the specifiedMultiMap. - SynchronizedMultiMap(Map<? extends K, ? extends V>) - Constructor for class fr.dufrenoy.util.SynchronizedMultiMap
-
Creates a new
SynchronizedMultiMapcontaining the same mappings as the specified map. - SynchronizedSymmetricMap<K,V> - Class in fr.dufrenoy.util
-
A thread-safe implementation of
SymmetricMap, backed by anUnsynchronizedSymmetricMapand protected by aReentrantReadWriteLock. - SynchronizedSymmetricMap() - Constructor for class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Creates a new
SynchronizedSymmetricMapwith the default initial capacity (16) and load factor (0.75). - SynchronizedSymmetricMap(int) - Constructor for class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Creates a new
SynchronizedSymmetricMapwith the given initial capacity and the default load factor (0.75). - SynchronizedSymmetricMap(int, float) - Constructor for class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Creates a new
SynchronizedSymmetricMapwith the given initial capacity and load factor. - SynchronizedTreeList<E> - Class in fr.dufrenoy.util
-
A thread-safe implementation of
TreeListthat delegates to an innerUnsynchronizedTreeListprotected by aReentrantReadWriteLock. - SynchronizedTreeList() - Constructor for class fr.dufrenoy.util.SynchronizedTreeList
-
Constructs an empty
SynchronizedTreeListordered by the natural ordering of its elements. - SynchronizedTreeList(Collection<? extends E>) - Constructor for class fr.dufrenoy.util.SynchronizedTreeList
-
Constructs a
SynchronizedTreeListcontaining the elements of the given collection, ordered by their natural ordering. - SynchronizedTreeList(Comparator<? super E>) - Constructor for class fr.dufrenoy.util.SynchronizedTreeList
-
Constructs an empty
SynchronizedTreeListordered by the given comparator. - SynchronizedTreeList(Comparator<? super E>, Collection<? extends E>) - Constructor for class fr.dufrenoy.util.SynchronizedTreeList
-
Constructs a
SynchronizedTreeListcontaining the elements of the given collection, ordered by the given comparator.
T
- toArray() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- toArray() - Method in class fr.dufrenoy.util.SynchronizedTreeList
- toArray(T[]) - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- toArray(T[]) - Method in class fr.dufrenoy.util.SynchronizedTreeList
- toString() - Method in class fr.dufrenoy.util.SynchronizedChunkyList
- toString() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- toString() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
- toString() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- TreeList<E> - Interface in fr.dufrenoy.util
-
A sorted list that contains no duplicate elements, backed by a red-black tree.
U
- UNDERFLOW_STRATEGY - fr.dufrenoy.util.ChunkyList.ShrinkingStrategy
-
The first element of the next chunk is pulled into the current one; the chunk is removed if still empty.
- UnsynchronizedChunkyList<E> - Class in fr.dufrenoy.util
-
An unrolled linked list implementation of
ChunkyList, backed by a chain of fixed-size arrays (Chunks). - UnsynchronizedChunkyList() - Constructor for class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Creates a new
UnsynchronizedChunkyListwith the default chunk size. - UnsynchronizedChunkyList(int) - Constructor for class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Creates a new
UnsynchronizedChunkyListwith the given chunk size. - UnsynchronizedChunkyList(int, UnsynchronizedChunkyList<? extends E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Creates a copy of the given
UnsynchronizedChunkyListwith a different chunk size, preserving both strategies. - UnsynchronizedChunkyList(int, Collection<? extends E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Creates a new
UnsynchronizedChunkyListwith the given chunk size containing all elements of the given collection, in the order returned by its iterator. - UnsynchronizedChunkyList(UnsynchronizedChunkyList<? extends E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Creates a faithful copy of the given
UnsynchronizedChunkyList, preserving its chunk size (not the default chunk size), both strategies, and the internal chunk structure. - UnsynchronizedChunkyList(Collection<? extends E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedChunkyList
-
Creates a new
UnsynchronizedChunkyListwith the default chunk size containing all elements of the given collection, in the order returned by its iterator. - UnsynchronizedMultiMap<K,V> - Class in fr.dufrenoy.util
- UnsynchronizedMultiMap() - Constructor for class fr.dufrenoy.util.UnsynchronizedMultiMap
-
Creates a new empty
UnsynchronizedMultiMapwith default initial capacity. - UnsynchronizedMultiMap(int) - Constructor for class fr.dufrenoy.util.UnsynchronizedMultiMap
-
Creates a new empty
UnsynchronizedMultiMapwith the specified initial capacity. - UnsynchronizedMultiMap(MultiMap<? extends K, ? extends V>) - Constructor for class fr.dufrenoy.util.UnsynchronizedMultiMap
-
Creates a new
UnsynchronizedMultiMapcontaining the same mappings as the specifiedMultiMap. - UnsynchronizedMultiMap(Map<? extends K, ? extends V>) - Constructor for class fr.dufrenoy.util.UnsynchronizedMultiMap
-
Creates a new
UnsynchronizedMultiMapcontaining the same mappings as the specified map. - UnsynchronizedSymmetricMap<K,V> - Class in fr.dufrenoy.util
-
A bijective map where both keys and values are unique, backed by a single array of
UnsynchronizedSymmetricMap.Buckets with two independent collision chains per bucket — one indexed by key hash, one indexed by value hash. - UnsynchronizedSymmetricMap() - Constructor for class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Creates a new
UnsynchronizedSymmetricMapwith the default initial capacity (16) and load factor (0.75). - UnsynchronizedSymmetricMap(int) - Constructor for class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Creates a new
UnsynchronizedSymmetricMapwith the given initial capacity and the default load factor (0.75). - UnsynchronizedSymmetricMap(int, float) - Constructor for class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Creates a new
UnsynchronizedSymmetricMapwith the given initial capacity and load factor. - UnsynchronizedTreeList<E> - Class in fr.dufrenoy.util
-
A non-thread-safe implementation of
TreeListbacked by a red-black tree augmented with subtree sizes (order-statistic tree). - UnsynchronizedTreeList() - Constructor for class fr.dufrenoy.util.UnsynchronizedTreeList
-
Constructs an empty
UnsynchronizedTreeListordered by the natural ordering of its elements. - UnsynchronizedTreeList(Collection<? extends E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedTreeList
-
Constructs a
UnsynchronizedTreeListcontaining the elements of the given collection, ordered by their natural ordering. - UnsynchronizedTreeList(Comparator<? super E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedTreeList
-
Constructs an empty
UnsynchronizedTreeListordered by the given comparator. - UnsynchronizedTreeList(Comparator<? super E>, Collection<? extends E>) - Constructor for class fr.dufrenoy.util.UnsynchronizedTreeList
-
Constructs a
UnsynchronizedTreeListcontaining the elements of the given collection, ordered by the given comparator.
V
- valueOf(String) - Static method in enum fr.dufrenoy.util.ChunkyList.GrowingStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fr.dufrenoy.util.ChunkyList.ShrinkingStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum fr.dufrenoy.util.ChunkyList.GrowingStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum fr.dufrenoy.util.ChunkyList.ShrinkingStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface fr.dufrenoy.util.MultiMap
-
Returns a
Collectionview of the values contained in this map. - values() - Method in interface fr.dufrenoy.util.SymmetricMap
-
Returns a
Setview of the values contained in this map. - values() - Method in class fr.dufrenoy.util.SynchronizedMultiMap
- values() - Method in class fr.dufrenoy.util.SynchronizedSymmetricMap
-
Returns a
Setview of the values contained in this map. - values() - Method in class fr.dufrenoy.util.UnsynchronizedMultiMap
- values() - Method in class fr.dufrenoy.util.UnsynchronizedSymmetricMap
-
Returns a
Setview of the values contained in this map.
All Classes All Packages