public static class LinkedList.JavaUtilIterator<T extends LinkedListNode<T>> extends Object implements Iterator<T>, Externalizable
Constructor and Description |
---|
LinkedList.JavaUtilIterator() |
LinkedList.JavaUtilIterator(LinkedList<T> list) |
LinkedList.JavaUtilIterator(LinkedList<T> list,
boolean immutable) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
readExternal(ObjectInput in) |
void |
remove() |
void |
writeExternal(ObjectOutput out) |
public LinkedList.JavaUtilIterator()
public LinkedList.JavaUtilIterator(LinkedList<T> list)
public LinkedList.JavaUtilIterator(LinkedList<T> list, boolean immutable)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean hasNext()
hasNext
in interface Iterator<T extends LinkedListNode<T>>
public void remove()
remove
in interface Iterator<T extends LinkedListNode<T>>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.