Tools to handle generation of lookup names for the dictionary
increment looks for a counter in the data environment of mzIDCollection objects and increments it by one if it exists. Otherwise it initialises the counter to 1. It returns the value of the counter.
1 2 3 4
increment(object) ## S4 method for signature 'mzIDCollection' increment(object)
An mzIDCollection object
An integer given the current count
Methods (by class)
mzIDCollection: Increment the counter in mzIDcollection objects