This is an application of the Internal Iterator pattern in the GOF book.
The nodes being iterated over can be safely modified in the following ways, all other modifications have undefined behaviour:
TIntProcedure
value
@return true if the procedure did not terminate prematurely.
TLongProcedure
value
@return false if the loop over the collection terminated becausethe procedure returned false for some value.
TIntProcedure
value
@return true if the procedure did not terminate prematurely.
TIntProcedure
value
@return false if the loop over the set terminated becausethe procedure returned false for some value.
TLongProcedure
value
@return false if the loop over the set terminated becausethe procedure returned false for some value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|