Package sleep.runtime
Class ProxyIterator
- java.lang.Object
-
- sleep.runtime.ProxyIterator
-
- All Implemented Interfaces:
java.util.Iterator
public class ProxyIterator extends java.lang.Object implements java.util.Iterator
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
modifyAllow
protected java.util.Iterator
realIterator
-
Constructor Summary
Constructors Constructor Description ProxyIterator(java.util.Iterator iter, boolean _modifyAllow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
static boolean
isIterator(Scalar value)
Check if the Scalar contains a Java iterator valuejava.lang.Object
next()
void
remove()
-
-
-
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 interfacejava.util.Iterator
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
-
-