replace Method
Replace an existing classifier with a different one.
replace(toReplace: SpatialClassifier, replacement: SpatialClassifier): boolean
@returns true if a classifier equivalent to toReplace
existed in the set and was replaced by replacement
.
@note If toReplace
was the active classifier, replacement
will become active.
Parameter | Type | Description |
---|---|---|
toReplace | SpatialClassifier | The classifier to be replaced. |
replacement | SpatialClassifier | The classifier to replace toReplace . |
Returns - boolean
true if a classifier equivalent to toReplace
existed in the set and was replaced by replacement
.
Defined in
Last Updated: 13 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.