public class UnorderedRedBlackList<T> extends CollectionRedBlackTree<T,UnorderedRedBlackList.Node> implements java.util.List<T>
Created by covers1624 on 16/5/21.
| Modifier and Type | Class and Description |
|---|---|
class |
UnorderedRedBlackList.Node |
BaseRedBlackTree.Entriescount| Constructor and Description |
|---|
UnorderedRedBlackList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
boolean |
contains(java.lang.Object o) |
T |
get(int index) |
protected T |
getValue(UnorderedRedBlackList.Node node) |
int |
indexOf(java.lang.Object o) |
int |
indexOf(UnorderedRedBlackList.Node node) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
protected UnorderedRedBlackList.Node |
newNode(T value) |
UnorderedRedBlackList.Node |
nodeAt(int index) |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
T |
set(int index,
T element) |
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
addAll, clear, containsAll, isEmpty, iterator, removeAll, retainAll, size, toArray, toArraybuildFrom, buildFrom, closest, entries, find, getLeftMost, getRightMost, getRoot, insertAt, insertRange, makeEntriesCollection, orderConsistencyCheck, removeRange, replace, setRootclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic UnorderedRedBlackList.Node nodeAt(int index)
public int indexOf(UnorderedRedBlackList.Node node)
protected UnorderedRedBlackList.Node newNode(T value)
newNode in class CollectionRedBlackTree<T,UnorderedRedBlackList.Node>protected T getValue(UnorderedRedBlackList.Node node)
getValue in class CollectionRedBlackTree<T,UnorderedRedBlackList.Node>public boolean add(T t)
public boolean contains(java.lang.Object o)
public boolean remove(java.lang.Object o)
public boolean addAll(int index,
java.util.Collection<? extends T> c)
addAll in interface java.util.List<T>public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<T>public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<T>public java.util.ListIterator<T> listIterator()
listIterator in interface java.util.List<T>public java.util.ListIterator<T> listIterator(int index)
listIterator in interface java.util.List<T>