Uses of Interface
net.automatalib.common.smartcollection.ElementReference
-
-
Uses of ElementReference in net.automatalib.common.smartcollection
Subinterfaces of ElementReference in net.automatalib.common.smartcollection Modifier and Type Interface Description interfaceLinkedListEntry<E,T extends LinkedListEntry<E,T>>Basic interface for entries in a linked list.Classes in net.automatalib.common.smartcollection that implement ElementReference Modifier and Type Class Description classAbstractBasicLinkedListEntry<E,T extends AbstractBasicLinkedListEntry<E,T>>Abstract base class for entries in a linked list.classDefaultLinkedListEntry<E>The default linked list entry.Methods in net.automatalib.common.smartcollection that return ElementReference Modifier and Type Method Description ElementReferenceBackedGeneralPriorityQueue. add(E elem, @Nullable K key)ElementReferenceSmartGeneralPriorityQueue. add(E elem, K key)Inserts an element with the specified key.ElementReferenceAbstractLinkedList. chooseRef()ElementReferenceAbstractSmartCollection. chooseRef()ElementReferenceBackedGeneralPriorityQueue. chooseRef()ElementReferenceSmartCollection. chooseRef()Retrieves the reference to an arbitrary element from the collection.ElementReferenceUnorderedCollection. chooseRef()@Nullable ElementReferenceAbstractSmartCollection. find(@Nullable Object element)@Nullable ElementReferenceBackedGeneralPriorityQueue. find(@Nullable Object element)@Nullable ElementReferenceSmartCollection. find(@Nullable Object element)Retrieves the reference for a given element.@Nullable ElementReferenceAbstractLinkedList. getBackReference()Retrieves a reference to the last element in the list.ElementReferenceSmartDeque. getBackReference()Retrieves the reference to the element at the end of the sequence, ornullif the sequence is empty.@Nullable ElementReferenceAbstractLinkedList. getFrontReference()Retrieves a reference to the first element in the list.ElementReferenceSmartDeque. getFrontReference()Retrieves the reference to the element at the beginning of the sequence, ornullif the sequence is empty.ElementReferenceAbstractLinkedList. insertAfter(E element, ElementReference ref)ElementReferenceSmartSequence. insertAfter(E element, ElementReference ref)Inserts the given element after the element referenced by the specified reference.ElementReferenceAbstractLinkedList. insertBefore(E element, ElementReference ref)ElementReferenceSmartSequence. insertBefore(E element, ElementReference ref)Inserts the given element before the element referenced by the specified reference.@Nullable ElementReferenceAbstractLinkedList. pred(ElementReference ref)@Nullable ElementReferenceSmartSequence. pred(ElementReference ref)Retrieves the reference to the preceding element, ornullif the given reference references the first element in the list.ElementReferenceAbstractLinkedList. pushBack(E element)Adds an element at the end of the list.ElementReferenceSmartDeque. pushBack(E element)Adds an element at the end of the sequence.ElementReferenceAbstractLinkedList. pushFront(E element)Adds an element at the beginning of the list.ElementReferenceSmartDeque. pushFront(E element)Adds an element at the beginning of the sequence.ElementReferenceAbstractLinkedList. referencedAdd(E elem)ElementReferenceBackedGeneralPriorityQueue. referencedAdd(E elem)ElementReferenceBinaryHeap. referencedAdd(E elem)ElementReferenceSmartCollection. referencedAdd(E elem)Adds an element to the collection, returning a reference to the newly added element.ElementReferenceUnorderedCollection. referencedAdd(E elem)@Nullable ElementReferenceAbstractLinkedList. succ(ElementReference ref)@Nullable ElementReferenceSmartSequence. succ(ElementReference ref)Retrieves the reference to the succeeding element, ornullif the given reference references the last element in the list.Methods in net.automatalib.common.smartcollection that return types with arguments of type ElementReference Modifier and Type Method Description Iterator<ElementReference>AbstractLinkedList. referenceIterator()Iterator<ElementReference>BackedGeneralPriorityQueue. referenceIterator()Iterator<ElementReference>BinaryHeap. referenceIterator()Iterator<ElementReference>SmartCollection. referenceIterator()Retrieves an iterator for iterating over the references of elements in this collection.Iterator<ElementReference>UnorderedCollection. referenceIterator()Iterable<ElementReference>AbstractSmartCollection. references()Iterable<ElementReference>SmartCollection. references()This is a method provided for convenience, which allows iterating over the element references using a foreach-stylefor-loop.Iterable<ElementReference>UnorderedCollection. references()Methods in net.automatalib.common.smartcollection with parameters of type ElementReference Modifier and Type Method Description protected TAbstractLinkedList. castRef(ElementReference ref)Helper function for casting a generalElementReferenceto the specific linked list entry type.voidBackedGeneralPriorityQueue. changeKey(ElementReference ref, K newKey)voidSmartGeneralPriorityQueue. changeKey(ElementReference ref, K newKey)Changes the key of an element in the priority key.EAbstractLinkedList. get(ElementReference ref)EBackedGeneralPriorityQueue. get(ElementReference ref)EBinaryHeap. get(ElementReference ref)ESmartCollection. get(ElementReference ref)Retrieves an element by its reference.EUnorderedCollection. get(ElementReference ref)ElementReferenceAbstractLinkedList. insertAfter(E element, ElementReference ref)ElementReferenceSmartSequence. insertAfter(E element, ElementReference ref)Inserts the given element after the element referenced by the specified reference.ElementReferenceAbstractLinkedList. insertBefore(E element, ElementReference ref)ElementReferenceSmartSequence. insertBefore(E element, ElementReference ref)Inserts the given element before the element referenced by the specified reference.voidBinaryHeap. keyChanged(ElementReference ref)voidSmartDynamicPriorityQueue. keyChanged(ElementReference reference)Notifies the implementation that the key of an element has changed.@Nullable ElementReferenceAbstractLinkedList. pred(ElementReference ref)@Nullable ElementReferenceSmartSequence. pred(ElementReference ref)Retrieves the reference to the preceding element, ornullif the given reference references the first element in the list.voidAbstractLinkedList. remove(ElementReference elem)voidBackedGeneralPriorityQueue. remove(ElementReference ref)voidBinaryHeap. remove(ElementReference ref)voidSmartCollection. remove(ElementReference elem)Removes an element (by its reference) from the collection.voidUnorderedCollection. remove(ElementReference ref)voidAbstractLinkedList. replace(ElementReference ref, E newElement)voidBackedGeneralPriorityQueue. replace(ElementReference ref, E newElement)voidBinaryHeap. replace(ElementReference ref, E newElement)voidDefaultLinkedList. replace(ElementReference ref, E newElement)voidSmartCollection. replace(ElementReference ref, E newElement)Replaces the element referenced by the given reference with the specified element.voidUnorderedCollection. replace(ElementReference ref, E newElement)@Nullable ElementReferenceAbstractLinkedList. succ(ElementReference ref)@Nullable ElementReferenceSmartSequence. succ(ElementReference ref)Retrieves the reference to the succeeding element, ornullif the given reference references the last element in the list.
-