Uses of Interface
org.openjdk.jmc.common.unit.IFormatter
Packages that use IFormatter
Package
Description
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.unitModifier and TypeInterfaceDescriptioninterface
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 IFormatterModifier and TypeClassDescriptionfinal class
ComparableConstraint<T extends Comparable<T>>
Aconstraint
that wraps apersister
forComparable
values, and constrains the allowed values with minimum and maximum values.class
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
static class
Methods in org.openjdk.jmc.common.unit that return IFormatterModifier and TypeMethodDescriptionContentType.getDefaultFormatter()
ContentType.getFormatter
(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.LinearKindOfQuantity.getFormatterResolving
(IRange<IQuantity> range) KindOfQuantity.getRangeFormatter
(String formatHint) Temporary helper to format quantity ranges.