Index: TECH/Iterator.cls.xml =================================================================== diff -u -r28 -r54 --- TECH/Iterator.cls.xml (.../Iterator.cls.xml) (revision 28) +++ TECH/Iterator.cls.xml (.../Iterator.cls.xml) (revision 54) @@ -1,29 +1,17 @@ - Generic iterator interface. Since we're not typed this interface is most useful as a template to quickly and consistently implement -the right methods. - -De HasNext method moet zo licht mogelijk geimplementeerd worden. -Daarvoor moet de iterator steeds op het volgende element staan. - -
Eg: -
Set Iterator=##class(classname).%New() -
While Iterator.HasNext() -
{ -
Set object=Iterator.Next() -
} -]]>
+the right methods. 1 1 0 Returns true if the iteration has more elements. -1 %Boolean @@ -32,7 +20,6 @@ Returns the next element in the iteration. Only returns a valid element if HasNext() returns true Causes an error if HasNext() returns false -1 %CacheString