sleep.runtime
Class ProxyIterator

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

public class ProxyIterator
extends java.lang.Object
implements java.util.Iterator


Field Summary
protected  boolean modifyAllow
           
protected  java.util.Iterator realIterator
           
 
Constructor Summary
ProxyIterator(java.util.Iterator iter, boolean _modifyAllow)
           
 
Method Summary
 boolean hasNext()
           
static boolean isIterator(Scalar value)
          Check if the Scalar contains a Java iterator value
 java.lang.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 java.util.Iterator realIterator

modifyAllow

protected boolean modifyAllow
Constructor Detail

ProxyIterator

public ProxyIterator(java.util.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 java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator