nextItem,unitizerList-method

0th

Percentile

Iterate through items of a unitizerList ObjectJK

Extraction process is a combination of steps:

  1. Move Internal pointer with nextItem or prevItem

  2. Retrieve item getItem

  3. 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

Aliases
  • nextItem,unitizerList-method
  • prevItem,unitizerList-method
  • getItem,unitizerList-method
  • reset,unitizerList-method,
  • done,unitizerList-method
Documentation reproduced from package unitizer, version 1.4.8, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.