Observable Linked List
An observable LinkedList.
Parameters
Type of List elements.
Initial elements in this ObservableList.
Constructors
Creates an ObservableLinkedList with given initial elements.
Functions
Appends all elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator.
Inserts all elements in the specified collection into this list, starting at the specified position. Shifts the element currently at that position (if any) and any subsequent elements to the right (increases their indices). The new elements will appear in the list in the order that they are returned by the specified collection's iterator.
Adds a listener silently.
Adds a listener and calls ValueObserver.update on this new listener with given initial value.
Removes all listeners.
Returns true
if this list contains elements.
Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
Removes from this list all of its elements that are contained in the specified collection.
Removes the first element from this list and returns that removed element.
Removes the first element from this list and returns that removed element, or returns null
if this list is empty.
Removes the last element from this list and returns that removed element.
Removes the last element from this list and returns that removed element, or returns null
if this list is empty.
Removes a listener.
removes o from the ObservableList silently.
Replaces each element of this list with the result of applying the operator to that element.
Retains only the elements in this list that are contained in the specified collection.
Sets all elements in the specified collection as the new contents of this list, in the order that they are returned by the specified collection's Iterator. Clears all items currently in this list.
Sorts this list by given comparator.
Creates a fail-fastSpliterator over the elements in this list.