sleep.runtime
Class ProxyIterator

java.lang.Object
  extended by sleep.runtime.ProxyIterator
All Implemented Interfaces:
Iterator

public class ProxyIterator
extends Object
implements Iterator


Field Summary
protected  boolean modifyAllow
           
protected  Iterator realIterator
           
 
Constructor Summary
ProxyIterator(Iterator iter, boolean _modifyAllow)
           
 
Method Summary
 boolean hasNext()
           
static boolean isIterator(Scalar value)
          Check if the Scalar contains a Java iterator value
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

realIterator

protected Iterator realIterator

modifyAllow

protected boolean modifyAllow
Constructor Detail

ProxyIterator

public ProxyIterator(Iterator iter,
                     boolean _modifyAllow)
Method Detail

isIterator

public static boolean isIterator(Scalar value)
Check if the Scalar contains a Java iterator value


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