|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.ps.PsObjectComposite
org.foray.ps.PsArrayExecuting
public class PsArrayExecuting
A wrapper around an instance of PsArray
, acting as an iterator over its content.
Constructor Summary | |
---|---|
PsArrayExecuting(PsArray wrappedArray)
Constructor. |
Method Summary | |
---|---|
PsObject |
duplicate()
This is a shallow copy. |
PsObject |
getNextProcedureItem()
Returns the next item in this procedure. |
PsName |
getTypeName()
Needed for the "type" operator. |
boolean |
isComparable(PsObject object)
Test the comparability of two PSObjects. |
boolean |
isComposite()
The method should be overridden by composite objects. |
boolean |
isExecutable()
Indicates whether this object is executable. |
int |
qtyUnexecutedItems()
Returns the count of unexecuted items. |
Methods inherited from class org.foray.ps.PsObjectComposite |
---|
getAccess, setAccess |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PsArrayExecuting(PsArray wrappedArray)
wrappedArray
- The array whose contents are iterated. This array must be executable.Method Detail |
---|
public PsObject getNextProcedureItem()
public int qtyUnexecutedItems()
public boolean isComparable(PsObject object)
PsObject
object
- The object that should be tested for comparability.
this
is comparable to object
,
false otherwise.public PsName getTypeName()
PsObject
public boolean isExecutable()
PsObject
public PsObject duplicate()
PsObject
public boolean isComposite()
PsObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |