Uses of Class
org.ddogleg.struct.DogLinkedList.Element
Packages that use DogLinkedList.Element
-
Uses of DogLinkedList.Element in org.ddogleg.struct
Fields in org.ddogleg.struct declared as DogLinkedList.ElementModifier and TypeFieldDescriptionprotected @Nullable DogLinkedList.Element<T>DogLinkedList.firstprotected @Nullable DogLinkedList.Element<T>DogLinkedList.last@Nullable DogLinkedList.Element<T>DogLinkedList.Element.next@Nullable DogLinkedList.Element<T>DogLinkedList.Element.prevFields in org.ddogleg.struct with type parameters of type DogLinkedList.ElementModifier and TypeFieldDescriptionprotected final ArrayDeque<DogLinkedList.Element<T>>DogLinkedList.availableMethods in org.ddogleg.struct that return DogLinkedList.ElementModifier and TypeMethodDescription@Nullable DogLinkedList.Element<T>Returns the first element which contains 'object' starting from the head.DogLinkedList.getElement(int index, boolean fromFront) Returns the N'th element when counting from the from or from the back@Nullable DogLinkedList.Element<T>DogLinkedList.getHead()Returns the first element in the list@Nullable DogLinkedList.Element<T>DogLinkedList.getTail()Returns the last element in the listDogLinkedList.insertAfter(DogLinkedList.Element<T> previous, T object) Inserts the object into a new element after the provided element.DogLinkedList.insertBefore(DogLinkedList.Element<T> next, T object) Inserts the object into a new element before the provided element.Adds the element to the front of the list.Adds the element to the back of the list.protected DogLinkedList.Element<T>DogLinkedList.requestNew()Returns a new element.Methods in org.ddogleg.struct with parameters of type DogLinkedList.ElementModifier and TypeMethodDescriptionDogLinkedList.insertAfter(DogLinkedList.Element<T> previous, T object) Inserts the object into a new element after the provided element.DogLinkedList.insertBefore(DogLinkedList.Element<T> next, T object) Inserts the object into a new element before the provided element.voidDogLinkedList.remove(DogLinkedList.Element<T> element) Removes the element from the list and saves the element data structure for later reuse.voidDogLinkedList.swap(DogLinkedList.Element<T> a, DogLinkedList.Element<T> b) Swaps the location of the two elements