@Equality public abstract class Rounding extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static Rounding |
DECIMAL |
Policy suitable for normal numeric axes.
|
static Rounding |
SECONDS |
Policy suitable for time axes with data units of seconds.
|
Constructor | Description |
---|---|
Rounding() |
Modifier and Type | Method | Description |
---|---|---|
abstract Rounder |
getRounder(boolean isLog) |
Returns a rounder object for linear/logarithmic rounding.
|
static Rounding |
getRounding(boolean isTime) |
Returns a suitable implementation for an axis that either is or is
not a time axis.
|
public static Rounding DECIMAL
public static Rounding SECONDS
public abstract Rounder getRounder(boolean isLog)
isLog
- true for logarithmic, false for linearpublic static Rounding getRounding(boolean isTime)
isTime
- true for time axis in seconds, false for normal numericCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.