public class FastLinkedList.Entry
extends java.lang.Object
Red (tfeng) |
Yellow (tfeng) |
Modifier and Type | Method and Description |
---|---|
E |
getElement()
Get the element in this entry.
|
FastLinkedList<E> |
getList()
Get the linked list that contains this entry.
|
FastLinkedList.Entry |
getNext()
Get the next entry.
|
FastLinkedList.Entry |
getPrevious()
Get the previous entry.
|
boolean |
hasNext()
Test whether there is a next entry.
|
boolean |
hasPrevious()
Test whether there is a previous entry.
|
void |
remove()
Remove this entry from the linked list that contains it.
|
public E getElement()
public FastLinkedList<E> getList()
public FastLinkedList.Entry getNext()
public FastLinkedList.Entry getPrevious()
public boolean hasNext()
public boolean hasPrevious()
public void remove()