protected final class SimpleLinkedList.ListIter extends Object implements ListIterator<T>
| Constructor and Description |
|---|
ListIter(SimpleLinkedList.LinkedListNode<T> start,
int pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ListIter(SimpleLinkedList.LinkedListNode<T> start, int pos)
public void add(T e)
add in interface ListIterator<T>public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface ListIterator<T>public T next()
public int nextIndex()
nextIndex in interface ListIterator<T>public T previous()
previous in interface ListIterator<T>public int previousIndex()
previousIndex in interface ListIterator<T>public void remove()
public void set(T e)
set in interface ListIterator<T>Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.