public static class RatioGauge.Ratio extends Object
public static RatioGauge.Ratio of(double numerator, double denominator)
numerator - the numerator of the ratiodenominator - the denominator of the rationumerator:denominatorpublic double getValue()
double between 0 and 1 (inclusive) or
NaN.Copyright © 2020. All rights reserved.