Drools :: Core 6.0.0.Beta5

org.drools.core.util
Class LinkedList.JavaUtilIterator<T extends LinkedListNode<T>>

java.lang.Object
  extended by 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
LinkedList.JavaUtilIterator()
           
LinkedList.JavaUtilIterator(LinkedList<T> list)
           
LinkedList.JavaUtilIterator(LinkedList<T> list, boolean immutable)
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void readExternal(ObjectInput in)
           
 void remove()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedList.JavaUtilIterator

public LinkedList.JavaUtilIterator()

LinkedList.JavaUtilIterator

public LinkedList.JavaUtilIterator(LinkedList<T> list)

LinkedList.JavaUtilIterator

public LinkedList.JavaUtilIterator(LinkedList<T> list,
                                   boolean immutable)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T extends LinkedListNode<T>>

next

public T next()
Specified by:
next in interface Iterator<T extends LinkedListNode<T>>

remove

public void remove()
Specified by:
remove in interface Iterator<T extends LinkedListNode<T>>

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.