Product SiteDocumentation Site

5.4.19. The StreamSupplier Class

A subclass of the Supplier class (Section 5.4.18, “The Supplier Class”) that will provided stream lines using supplier semantics. This allows the programmer to iterate over the remaining lines in a stream. A StreamSupplier object provides a snapshot of the stream at the point in time it is created, including the current line read position. In general, the iteration is not effected by later changes to the read and write positioning of the stream. However, forces external to the iteration may change the content of the remaining lines as the iteration progresses.

Table 5.46. ooRexx StreamSupplier Class

Object
Supplier
StreamSupplier
 
available
index
init
item
next

Note

The StreamSupplier class also has available class methods that its metaclass, the Class class (Section 5.1.2, “The Class Class”), defines.

5.4.19.1. Inherited Methods

Methods inherited from the Object class (Section 5.1.1, “The Object Class”).
new (Class Method)initsend
= \= == \== <> ><instanceMethodsendWith
|| '' (abuttal)' ' (blank)instanceMethodssetMethod
(Operator Methods)isAstart
classisInstanceOfstartWith
copyobjectNamestring
defaultNameobjectName=unsetMethod
hasMethodrequest 
identityHashrun 
Methods inherited from the Supplier class (Section 5.4.18, “The Supplier Class”).
new (Class Method)availableitem
allIndexesindexnext
allItemsinitsupplier