public class CountScaler
extends java.lang.Object
Constructor and Description |
---|
CountScaler(Scaling scaling,
int maxIn,
int maxOut)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
scaleCount(int count)
Scales in input whole number to an output whole number.
|
public CountScaler(Scaling scaling, int maxIn, int maxOut)
scaling
- provides basic scaling behaviourmaxIn
- defines input value range 0..maxInmaxOut
- defines output value range 0..maxOutCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.