public class LinkedList<V> extends Object implements Iterable<LinkedList.Node<V>>
| Modifier and Type | Class and Description |
|---|---|
class |
LinkedList.LinkedListIterator |
static class |
LinkedList.Node<T> |
| Modifier and Type | Field and Description |
|---|---|
int |
count |
| Constructor and Description |
|---|
LinkedList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(V element) |
boolean |
isEmpty() |
Iterator<LinkedList.Node<V>> |
iterator() |
V |
remove() |
void |
remove(LinkedList.Node<V> node) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Iterator<LinkedList.Node<V>> iterator()
iterator in interface Iterable<LinkedList.Node<V>>public void add(V element)
public void remove(LinkedList.Node<V> node)
public V remove()
public boolean isEmpty()
Copyright © 2016. All rights reserved.