Uses of Interface
org.openjdk.jmc.common.unit.IFormatter
-
Packages that use IFormatter Package Description org.openjdk.jmc.common.unit This package contains the data model for quantities and units. -
-
Uses of IFormatter in org.openjdk.jmc.common.unit
Subinterfaces of IFormatter in org.openjdk.jmc.common.unit Modifier and Type Interface Description interface
IIncrementalFormatter
Quantity formatter extension to reduce redundant information when presenting multiple adjacent, and growing, quantities for human consumption.Classes in org.openjdk.jmc.common.unit that implement IFormatter Modifier and Type Class Description class
ComparableConstraint<T extends java.lang.Comparable<T>>
Aconstraint
that wraps apersister
forComparable
values, and constrains the allowed values with minimum and maximum values.class
DisplayFormatter<T>
A display formatter is basically an identifier that tells a user interface widget how the unit should be formatted, e.g.static class
KindOfQuantity.ExactFormatter<U extends TypedUnit<U>>
static class
KindOfQuantity.VerboseFormatter<U extends TypedUnit<U>>
static class
LinearKindOfQuantity.AutoFormatter
static class
LinearKindOfQuantity.DualUnitFormatter
private static class
TimestampKind.FractionFormatter
private static class
TimestampKind.LegacyAndFractionFormatter
private static class
TimestampKind.LegacyFormatter
Fields in org.openjdk.jmc.common.unit declared as IFormatter Modifier and Type Field Description private static IFormatter<IQuantity>
TimestampKind. HOUR_TO_MICROS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. HOUR_TO_MILLIS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. HOUR_TO_NANOS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. HOUR_TO_SECONDS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. MICROS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. MILLIS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. NANOS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. YEAR_TO_DAY_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. YEAR_TO_MICROS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. YEAR_TO_MILLIS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. YEAR_TO_NANOS_FORMATTER
private static IFormatter<IQuantity>
TimestampKind. YEAR_TO_SECONDS_FORMATTER
Methods in org.openjdk.jmc.common.unit that return IFormatter Modifier and Type Method Description IFormatter<T>
ContentType. getDefaultFormatter()
IFormatter<T>
ContentType. getFormatter(java.lang.String formatterIdentifier)
abstract IFormatter<IQuantity>
KindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends ofrange
, and consecutive equally spaced quantities.IFormatter<IQuantity>
LinearKindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
IFormatter<IQuantity>
TimestampKind. getFormatterResolving(IRange<IQuantity> range)
IFormatter<IRange<IQuantity>>
KindOfQuantity. getRangeFormatter(java.lang.String formatHint)
Temporary helper to format quantity ranges.
-