public class CountScaler
extends java.lang.Object
| Constructor | Description |
|---|---|
CountScaler(Scaling scaling,
int maxIn,
int maxOut) |
Constructor.
|
| Modifier and Type | Method | 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 © 2018 Central Laboratory of the Research Councils. All Rights Reserved.