A B C D E F G H I K L M N O P Q R S U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBasicLinkedListEntry<E,T extends AbstractBasicLinkedListEntry<E,T>> - Class in net.automatalib.common.smartcollection
-
Abstract base class for entries in a linked list.
- AbstractBasicLinkedListEntry() - Constructor for class net.automatalib.common.smartcollection.AbstractBasicLinkedListEntry
- AbstractLinkedList<E,T extends LinkedListEntry<E,T>> - Class in net.automatalib.common.smartcollection
-
Abstract base class for linked lists.
- AbstractLinkedList() - Constructor for class net.automatalib.common.smartcollection.AbstractLinkedList
- AbstractSmartCollection<E> - Class in net.automatalib.common.smartcollection
-
This class eases the implementation of the
SmartCollectioninterface. - AbstractSmartCollection() - Constructor for class net.automatalib.common.smartcollection.AbstractSmartCollection
- add(E) - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- add(E, K) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- add(E, K) - Method in interface net.automatalib.common.smartcollection.SmartGeneralPriorityQueue
-
Inserts an element with the specified key.
- addAll(Iterable<? extends E>) - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- addAll(Iterable<? extends E>) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Adds all elements from a given iterable.
- addAll(Collection<? extends E>) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- addAll(T[]) - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- addAll(T[]) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Adds all elements from the specified array.
- addAll(T[]) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- array - Variable in class net.automatalib.common.smartcollection.ResizingArrayStorage
- ArrayStorage<T> - Class in net.automatalib.common.smartcollection
-
A thin wrapper around a simple
Object[]array. - ArrayStorage(int) - Constructor for class net.automatalib.common.smartcollection.ArrayStorage
- ArrayStorage(int, Supplier<T>) - Constructor for class net.automatalib.common.smartcollection.ArrayStorage
- ArrayStorage(Collection<? extends T>) - Constructor for class net.automatalib.common.smartcollection.ArrayStorage
- ArrayUtil - Class in net.automatalib.common.smartcollection
-
Utility methods for arrays.
- ArrayWritable<T> - Interface in net.automatalib.common.smartcollection
-
Unified interface for (collection) classes that allow writing their contents to an array.
B
- BackedGeneralPriorityQueue<E,K extends Comparable<K>> - Class in net.automatalib.common.smartcollection
-
A
SmartGeneralPriorityQueueimplementation that is backed by aSmartDynamicPriorityQueue. - BackedGeneralPriorityQueue() - Constructor for class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- BackedGeneralPriorityQueue(int) - Constructor for class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- BackedGeneralPriorityQueue(Supplier<? extends SmartDynamicPriorityQueue<BackedGeneralPriorityQueue.Entry<E, K>>>) - Constructor for class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- BackedGeneralPriorityQueue(List<? extends E>, List<K>) - Constructor for class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- BackedGeneralPriorityQueue(SmartDynamicPriorityQueue<BackedGeneralPriorityQueue.Entry<E, K>>) - Constructor for class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
-
Constructor.
- BackedGeneralPriorityQueue.Entry<E,K extends Comparable<K>> - Class in net.automatalib.common.smartcollection
-
Note: this class has a natural ordering that is inconsistent with equals.
- BinaryHeap<E> - Class in net.automatalib.common.smartcollection
-
A
PriorityQueueimplementation using a binary heap. - BinaryHeap(int, Collection<? extends E>, Comparator<? super E>) - Constructor for class net.automatalib.common.smartcollection.BinaryHeap
- BinaryHeap(int, Comparator<? super E>) - Constructor for class net.automatalib.common.smartcollection.BinaryHeap
C
- CapacityManagement - Interface in net.automatalib.common.smartcollection
-
Control interface for collections supporting a capacity management, i.e., reserving space in advance in order to avoid repeated reallocations.
- castRef(ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Helper function for casting a general
ElementReferenceto the specific linked list entry type. - changeKey(ElementReference, K) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- changeKey(ElementReference, K) - Method in interface net.automatalib.common.smartcollection.SmartGeneralPriorityQueue
-
Changes the key of an element in the priority key.
- choose() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- choose() - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- choose() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- choose() - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Retrieves an arbitrary element from the collection.
- choose() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- chooseRef() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- chooseRef() - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- chooseRef() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- chooseRef() - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Retrieves the reference to an arbitrary element from the collection.
- chooseRef() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- clear() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- clear() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- clear() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- clone() - Method in class net.automatalib.common.smartcollection.ArrayStorage
- compareTo(BackedGeneralPriorityQueue.Entry<E, K>) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue.Entry
- computeNewCapacity(int, int) - Static method in class net.automatalib.common.smartcollection.ArrayUtil
-
A convenient method for calling
computeNewCapacity(length, requiredCapacity, 0). - computeNewCapacity(int, int, int) - Static method in class net.automatalib.common.smartcollection.ArrayUtil
-
Computes the size of an array that is required to hold
requiredCapacitynumber of elements. - concat(AbstractLinkedList<? extends E, ? extends T>) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Concatenates two linked lists.
- containsKey(Object) - Method in class net.automatalib.common.smartcollection.ReflexiveMapView
- containsValue(Object) - Method in class net.automatalib.common.smartcollection.ReflexiveMapView
- create() - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- create(int) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- create(int, Collection<? extends E>) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- create(Collection<? extends E>) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- createCmp(Comparator<? super E>) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- createCmp(Comparator<? super E>, int) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- createCmp(Comparator<? super E>, int, Collection<? extends E>) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
- createCmp(Comparator<? super E>, Collection<? extends E>) - Static method in class net.automatalib.common.smartcollection.BinaryHeap
D
- deepClear() - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- deepClear() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- deepClear() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- deepClear() - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Thoroughly clears the collection, fixing all issues that may have been caused by a call of the above
SmartCollection.quickClear(). - deepClear() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- DEFAULT_INITIAL_CAPACITY - Static variable in class net.automatalib.common.smartcollection.ResizingArrayStorage
-
The default initial capacity of the array storage.
- DefaultLinkedList<E> - Class in net.automatalib.common.smartcollection
-
A simple linked list implementation that allows storing arbitrary elements.
- DefaultLinkedList() - Constructor for class net.automatalib.common.smartcollection.DefaultLinkedList
- DefaultLinkedListEntry<E> - Class in net.automatalib.common.smartcollection
-
The default linked list entry.
- DefaultLinkedListEntry(E) - Constructor for class net.automatalib.common.smartcollection.DefaultLinkedListEntry
-
Constructor.
E
- element - Variable in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue.Entry
- element() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- ElementReference - Interface in net.automatalib.common.smartcollection
-
Marker interface for element reference.
- ensureAdditionalCapacity(int) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- ensureAdditionalCapacity(int) - Method in interface net.automatalib.common.smartcollection.CapacityManagement
-
Ensures that the internal storage has room for at least the provided number of additional elements.
- ensureAdditionalCapacity(int) - Method in class net.automatalib.common.smartcollection.ResizingArrayStorage
- ensureAdditionalCapacity(int) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- ensureCapacity(int) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- ensureCapacity(int) - Method in interface net.automatalib.common.smartcollection.CapacityManagement
-
Ensures that the internal storage has room for at least the provided number of elements.
- ensureCapacity(int) - Method in class net.automatalib.common.smartcollection.ResizingArrayStorage
- ensureCapacity(int) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- entrySet() - Method in class net.automatalib.common.smartcollection.ReflexiveMapView
- equals(Object) - Method in class net.automatalib.common.smartcollection.ArrayStorage
- extractMin() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- extractMin() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- extractMin() - Method in interface net.automatalib.common.smartcollection.SmartPriorityQueue
-
Retrieves and removes the element with the minimum key in the priority queue.
F
- find(Object) - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- find(Object) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- find(Object) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Retrieves the reference for a given element.
G
- get(int) - Method in class net.automatalib.common.smartcollection.ArrayStorage
- get(int) - Method in interface net.automatalib.common.smartcollection.IntSeq
- get(Object) - Method in class net.automatalib.common.smartcollection.ReflexiveMapView
- get(ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- get(ElementReference) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- get(ElementReference) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- get(ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Retrieves an element by its reference.
- get(ElementReference) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- getBack() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves the last element in the list.
- getBack() - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Retrieves the element at the end of the sequence, or
nullif the sequence is empty. - getBackEntry() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves the last entry in the list, or
nullif the list is empty. - getBackReference() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves a reference to the last element in the list.
- getBackReference() - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Retrieves the reference to the element at the end of the sequence, or
nullif the sequence is empty. - getElement() - Method in class net.automatalib.common.smartcollection.DefaultLinkedListEntry
- getElement() - Method in interface net.automatalib.common.smartcollection.LinkedListEntry
-
Retrieves the element stored at this position in the list.
- getFront() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves the first element in the list.
- getFront() - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Retrieves the element at the beginning of the sequence, or
nullif the sequence is empty. - getFrontEntry() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves the first entry in the list, or
nullif the list is empty. - getFrontReference() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves a reference to the first element in the list.
- getFrontReference() - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Retrieves the reference to the element at the beginning of the sequence, or
nullif the sequence is empty. - getNext() - Method in class net.automatalib.common.smartcollection.AbstractBasicLinkedListEntry
- getNext() - Method in interface net.automatalib.common.smartcollection.LinkedListEntry
-
Retrieves the next entry in the list, or
nullif this is the last entry. - getPrev() - Method in class net.automatalib.common.smartcollection.AbstractBasicLinkedListEntry
- getPrev() - Method in interface net.automatalib.common.smartcollection.LinkedListEntry
-
Retrieves the previous entry in the list, or
nullif this is the first entry.
H
- hashCode() - Method in class net.automatalib.common.smartcollection.ArrayStorage
- hintNextCapacity(int) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- hintNextCapacity(int) - Method in interface net.automatalib.common.smartcollection.CapacityManagement
-
Gives a hint regarding the capacity that should be reserved when resizing the internal storage for the next time.
- hintNextCapacity(int) - Method in class net.automatalib.common.smartcollection.ResizingArrayStorage
- hintNextCapacity(int) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
I
- insertAfter(E, ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- insertAfter(E, ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartSequence
-
Inserts the given element after the element referenced by the specified reference.
- insertAfterEntry(T, T) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Inserts a new entry after a given one.
- insertBefore(E, ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- insertBefore(E, ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartSequence
-
Inserts the given element before the element referenced by the specified reference.
- insertBeforeEntry(T, T) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Inserts a new entry before a given one.
- IntrusiveLinkedList<T extends LinkedListEntry<T,T>> - Class in net.automatalib.common.smartcollection
-
An intrusive version of a linked list.
- IntrusiveLinkedList() - Constructor for class net.automatalib.common.smartcollection.IntrusiveLinkedList
- IntSeq - Interface in net.automatalib.common.smartcollection
-
An
IntSeqis an abstract read-only view on a finite, random-access data-structure for primitive integer values. - InvalidReferenceException - Exception in net.automatalib.common.smartcollection
-
Exception that is thrown if an invalid
ElementReferenceis used. - InvalidReferenceException(String) - Constructor for exception net.automatalib.common.smartcollection.InvalidReferenceException
-
Constructor.
- isEmpty() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- isEmpty() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- isEmpty() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- iterator() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- iterator() - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- iterator() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- iterator() - Method in interface net.automatalib.common.smartcollection.IntSeq
- iterator() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
K
- key - Variable in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue.Entry
- keyChanged(int) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- keyChanged(ElementReference) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- keyChanged(ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartDynamicPriorityQueue
-
Notifies the implementation that the key of an element has changed.
- keySet() - Method in class net.automatalib.common.smartcollection.ReflexiveMapView
L
- LinkedListEntry<E,T extends LinkedListEntry<E,T>> - Interface in net.automatalib.common.smartcollection
-
Basic interface for entries in a linked list.
M
- makeEntry(E) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Creates (if necessary) a
LinkedListEntryfor the given element. - makeEntry(E) - Method in class net.automatalib.common.smartcollection.DefaultLinkedList
- makeEntry(T) - Method in class net.automatalib.common.smartcollection.IntrusiveLinkedList
N
- net.automatalib.common.smartcollection - package net.automatalib.common.smartcollection
-
This package contains efficient implementations for various collection data structures (especially linked lists and priority queues), which have very insufficient implementation in the Java Collections Framework that makes it hard or even impossible to exploit their efficiencies.
O
- of(int...) - Static method in interface net.automatalib.common.smartcollection.IntSeq
- of(List<Integer>) - Static method in interface net.automatalib.common.smartcollection.IntSeq
- offer(E) - Method in class net.automatalib.common.smartcollection.BinaryHeap
P
- peek() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- peekMin() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- peekMin() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- peekMin() - Method in interface net.automatalib.common.smartcollection.SmartPriorityQueue
-
Retrieves, but does not remove the element with the minimum key in the priority queue.
- poll() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- popBack() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves and removes the last element in the list.
- popBack() - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Retrieves and removes the element at the beginning of the sequence.
- popBackEntry() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Removes and returns the last entry in the list.
- popFront() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Retrieves and removes the first element in the list.
- popFront() - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Retrieves and removes the element at the beginning of the sequence.
- popFrontEntry() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Removes and returns the first entry in the list.
- pred(ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- pred(ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartSequence
-
Retrieves the reference to the preceding element, or
nullif the given reference references the first element in the list. - pushBack(E) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Adds an element at the end of the list.
- pushBack(E) - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Adds an element at the end of the sequence.
- pushBackEntry(T) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Adds an entry at the end of the list.
- pushFront(E) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Adds an element at the beginning of the list.
- pushFront(E) - Method in interface net.automatalib.common.smartcollection.SmartDeque
-
Adds an element at the beginning of the sequence.
- pushFrontEntry(T) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Adds an entry at the beginning of the list.
Q
- quickClear() - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- quickClear() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- quickClear() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- quickClear() - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Quickly clears this collection.
- quickClear() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
R
- referencedAdd(E) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- referencedAdd(E) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- referencedAdd(E) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- referencedAdd(E) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Adds an element to the collection, returning a reference to the newly added element.
- referencedAdd(E) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- referenceIterator() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- referenceIterator() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- referenceIterator() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- referenceIterator() - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Retrieves an iterator for iterating over the references of elements in this collection.
- referenceIterator() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- references() - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- references() - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
This is a method provided for convenience, which allows iterating over the element references using a foreach-style
for-loop. - references() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- ReflexiveMapView<T> - Class in net.automatalib.common.smartcollection
-
An immutable, reflexive
Mapview for a given set of elements. - ReflexiveMapView(Set<T>) - Constructor for class net.automatalib.common.smartcollection.ReflexiveMapView
- remove() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- remove(Object) - Method in class net.automatalib.common.smartcollection.AbstractSmartCollection
- remove(Object) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Deprecated.use
SmartCollection.remove(ElementReference)instead - remove(ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- remove(ElementReference) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- remove(ElementReference) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- remove(ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Removes an element (by its reference) from the collection.
- remove(ElementReference) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- removeEntry(T) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Removes an entry from the list.
- replace(ElementReference, E) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- replace(ElementReference, E) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- replace(ElementReference, E) - Method in class net.automatalib.common.smartcollection.BinaryHeap
- replace(ElementReference, E) - Method in class net.automatalib.common.smartcollection.DefaultLinkedList
- replace(ElementReference, E) - Method in interface net.automatalib.common.smartcollection.SmartCollection
-
Replaces the element referenced by the given reference with the specified element.
- replace(ElementReference, E) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- replaceEntry(T, T) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Replaces an entry in the list.
- ResizingArrayStorage<T> - Class in net.automatalib.common.smartcollection
-
Class that provides a resizable array storage of a certain type.
- ResizingArrayStorage(Class<? super T>) - Constructor for class net.automatalib.common.smartcollection.ResizingArrayStorage
-
Constructor.
- ResizingArrayStorage(Class<? super T>, int) - Constructor for class net.automatalib.common.smartcollection.ResizingArrayStorage
-
Constructor.
- ResizingArrayStorage(ResizingArrayStorage<T>) - Constructor for class net.automatalib.common.smartcollection.ResizingArrayStorage
-
Copy-constructor which (shallowly) clones the storage of the other
ResizingArrayStorage.
S
- set(int, T) - Method in class net.automatalib.common.smartcollection.ArrayStorage
- setAll(T) - Method in class net.automatalib.common.smartcollection.ResizingArrayStorage
-
Sets all the elements in the array to the specified value.
- setDefaultKey(K) - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- setDefaultKey(K) - Method in interface net.automatalib.common.smartcollection.SmartGeneralPriorityQueue
-
Sets the default key, which is used for elements that are inserted with no explicit key specified.
- setElement(E) - Method in class net.automatalib.common.smartcollection.DefaultLinkedListEntry
-
Sets the stored element to the specified element.
- setNext(T) - Method in class net.automatalib.common.smartcollection.AbstractBasicLinkedListEntry
- setNext(T) - Method in interface net.automatalib.common.smartcollection.LinkedListEntry
-
Sets the successor of this entry.
- setPrev(T) - Method in class net.automatalib.common.smartcollection.AbstractBasicLinkedListEntry
- setPrev(T) - Method in interface net.automatalib.common.smartcollection.LinkedListEntry
-
Sets the predecessor of this entry.
- shrink(int) - Method in class net.automatalib.common.smartcollection.ResizingArrayStorage
-
Shrinks the storage to the specified maximum capacity.
- size() - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- size() - Method in class net.automatalib.common.smartcollection.ArrayStorage
- size() - Method in interface net.automatalib.common.smartcollection.ArrayWritable
-
The size of this container.
- size() - Method in class net.automatalib.common.smartcollection.BackedGeneralPriorityQueue
- size() - Method in class net.automatalib.common.smartcollection.BinaryHeap
- size() - Method in interface net.automatalib.common.smartcollection.IntSeq
- size() - Method in class net.automatalib.common.smartcollection.UnorderedCollection
- SmartCollection<E> - Interface in net.automatalib.common.smartcollection
-
An extended collection interface.
- SmartDeque<E> - Interface in net.automatalib.common.smartcollection
-
A double-ended queue (deque), allowing access, removal and insertion of elements both at the beginning and the end.
- SmartDynamicPriorityQueue<E> - Interface in net.automatalib.common.smartcollection
-
A priority queue interface.
- SmartGeneralPriorityQueue<E,K extends Comparable<K>> - Interface in net.automatalib.common.smartcollection
-
A generalized priority queue which allows storing arbitrary elements that don't have to be comparable, neither by their natural ordering nor by a provided
Comparator. - SmartPriorityQueue<E> - Interface in net.automatalib.common.smartcollection
-
Priority queue interface.
- SmartSequence<E> - Interface in net.automatalib.common.smartcollection
-
Sequence interface.
- succ(ElementReference) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
- succ(ElementReference) - Method in interface net.automatalib.common.smartcollection.SmartSequence
-
Retrieves the reference to the succeeding element, or
nullif the given reference references the last element in the list. - swap(AbstractLinkedList<E, T>) - Method in class net.automatalib.common.smartcollection.AbstractLinkedList
-
Swaps the contents of two linked lists with the same entry types.
- swap(ResizingArrayStorage<T>) - Method in class net.automatalib.common.smartcollection.ResizingArrayStorage
- swap(UnorderedCollection<E>) - Method in class net.automatalib.common.smartcollection.UnorderedCollection
-
Swaps the contents of this
UnorderedCollectionwith another one storing the same elements.
U
- UnorderedCollection<E> - Class in net.automatalib.common.smartcollection
-
This class implements a collection for storing objects in no particular order.
- UnorderedCollection() - Constructor for class net.automatalib.common.smartcollection.UnorderedCollection
-
Default constructor.
- UnorderedCollection(int) - Constructor for class net.automatalib.common.smartcollection.UnorderedCollection
-
Constructor.
- UnorderedCollection(Collection<? extends E>) - Constructor for class net.automatalib.common.smartcollection.UnorderedCollection
-
Constructor.
V
- values() - Method in class net.automatalib.common.smartcollection.ReflexiveMapView
W
- writeToArray(int, Object[], int, int) - Method in interface net.automatalib.common.smartcollection.ArrayWritable
-
Writes the contents of this container to an array.
All Classes All Packages