public class FrequencyFormat extends Object implements DoubleFormat
| Modifier and Type | Field and Description |
|---|---|
static FrequencyFormat |
INSTANCE |
| Constructor and Description |
|---|
FrequencyFormat() |
FrequencyFormat(boolean leadingZeros,
boolean intermediateZeros,
boolean fixedLength,
long high,
long low,
boolean decimal) |
FrequencyFormat(String format) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(double frequency) |
String |
format(long bytes) |
String |
formatDouble(double value) |
String |
toPattern() |
public static final FrequencyFormat INSTANCE
public FrequencyFormat(boolean leadingZeros,
boolean intermediateZeros,
boolean fixedLength,
long high,
long low,
boolean decimal)
public FrequencyFormat()
public FrequencyFormat(String format)
public String toPattern()
public String formatDouble(double value)
formatDouble in interface DoubleFormatpublic String format(double frequency)
public String format(long bytes)
Copyright © 2021 vpc open source initiative. All rights reserved.