Iterator.single
Description:
This Iterator is a convenient iterator for the common case where a Iterator needs to be returned but only a single object has to be considered.
This happens often for the PadIterIntLinkFunction.
Parameters:
type |
Type of the passed object |
object |
object that this iterator should return |
Returns:
the new Iterator for |