nextItem,unitizerList-method
From unitizer v1.4.4
by Brodie Gaslam
Iterate through items of a unitizerList
ObjectJK
Extraction process is a combination of steps:
Move Internal pointer with
nextItem
orprevItem
Retrieve item
getItem
Check whether we're done iterating with
done
done
will return TRUE if the pointer is on either the
first or last entry depending on what direction you are iterating.
If you wish to iterate from the last item forward, you should either
reset
with parameter reverse
set to TRUE, or re-order
the items.
- Keywords
- internal
Usage
# S4 method for unitizerList
nextItem(x)
Arguments
- x
a
unitizerList
object
Value
unitizerList
for getItem
,
an item from the list, which could be anything
Community examples
Looks like there are no examples yet.