org.drools.core.util
Class LinkedList.JavaUtilIterator

java.lang.Object
  extended by org.drools.core.util.LinkedList.JavaUtilIterator
All Implemented Interfaces:
Externalizable, Serializable, Iterator
Enclosing class:
LinkedList

public static class LinkedList.JavaUtilIterator
extends Object
implements Iterator, Externalizable

See Also:
Serialized Form

Constructor Summary
LinkedList.JavaUtilIterator()
           
LinkedList.JavaUtilIterator(LinkedList list)
           
LinkedList.JavaUtilIterator(LinkedList list, boolean immutable)
           
 
Method Summary
 boolean hasNext()
           
 Object 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 list)

LinkedList.JavaUtilIterator

public LinkedList.JavaUtilIterator(LinkedList 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

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


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