public static class LinkedList.JavaUtilIterator<T extends LinkedListNode<T>> extends Object implements Iterator<T>, Externalizable
Constructor and Description |
---|
JavaUtilIterator() |
JavaUtilIterator(LinkedList<T> list) |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public JavaUtilIterator()
public JavaUtilIterator(LinkedList<T> list)
public 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–2019 JBoss by Red Hat. All rights reserved.