A re-indexer for unique integer indices
Methods
Method new()
Create a new re-indexer
Arguments
data
Integer keys used to build the index (hash) table
Method get_indexer()
Get the underlying indices for the target data
Usage
IntIndexer$get_indexer(target, nomatch_na = FALSE)
Arguments
target
Data to re-index
nomatch_na
Set non-matches to NA
instead of -1
Returns
A vector of 64-bit integers with target
re-indexed
Method clone()
The objects of this class are cloneable with this method.
Usage
IntIndexer$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.