Package org.drools.core.util
Class LinkedList.JavaUtilIterator<T extends LinkedListNode<T>>
- java.lang.Object
-
- org.drools.core.util.LinkedList.JavaUtilIterator<T>
-
- All Implemented Interfaces:
Externalizable,Serializable,Iterator<T>
- Enclosing class:
- LinkedList<T extends LinkedListNode<T>>
public static class LinkedList.JavaUtilIterator<T extends LinkedListNode<T>> extends Object implements Iterator<T>, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaUtilIterator()JavaUtilIterator(LinkedList<T> list)JavaUtilIterator(LinkedList<T> list, boolean immutable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tnext()voidreadExternal(ObjectInput in)voidremove()voidwriteExternal(ObjectOutput out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
JavaUtilIterator
public JavaUtilIterator()
-
JavaUtilIterator
public JavaUtilIterator(LinkedList<T> list)
-
JavaUtilIterator
public JavaUtilIterator(LinkedList<T> list, boolean immutable)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<T extends LinkedListNode<T>>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<T extends LinkedListNode<T>>
-
-