| Package | Description |
|---|---|
| tech.units.indriya.format |
| Modifier and Type | Method and Description |
|---|---|
static SimpleUnitFormat.Flavor |
SimpleUnitFormat.Flavor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleUnitFormat.Flavor[] |
SimpleUnitFormat.Flavor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleUnitFormat |
SimpleUnitFormat.getInstance(SimpleUnitFormat.Flavor flavor)
Returns the
SimpleUnitFormat in the desired SimpleUnitFormat.Flavor |
static SimpleUnitFormat |
SimpleUnitFormat.getNewInstance(SimpleUnitFormat.Flavor flavor)
Similar to
SimpleUnitFormat.getInstance(Flavor), but returns a new SimpleUnitFormat instance in the desired
SimpleUnitFormat.Flavor, instead of a shared singleton instance. |
Copyright © 2005–2022 Units of Measurement project. All rights reserved.