| Modifier and Type | Method and Description |
|---|---|
static Unit |
Unit.fromString(String value)
Parses a serialized value to a Unit instance.
|
Unit |
MetricDefinition.unit()
Get the unit value.
|
Unit |
Metric.unit()
Get the unit of the metric.
|
static Unit |
Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit[] |
Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/