@Shareable public class NoOpTruncator extends Object implements VectorTruncator, Serializable
VectorTruncator
that does not actually perform any truncation.
Any input vector is left unchanged.Constructor and Description |
---|
NoOpTruncator() |
Modifier and Type | Method and Description |
---|---|
void |
truncate(MutableSparseVector v)
Truncate a vector, removing any entries that do not satisfy some condition.
|
public void truncate(MutableSparseVector v)
VectorTruncator
truncate
in interface VectorTruncator
v
- The vector to truncate.