public final class UnitType extends ExpandableStringEnum<UnitType>
Modifier and Type | Field and Description |
---|---|
static UnitType |
BYTES
Static value Bytes for UnitType.
|
static UnitType |
BYTES_PER_SECOND
Static value BytesPerSecond for UnitType.
|
static UnitType |
COUNT
Static value Count for UnitType.
|
static UnitType |
COUNT_PER_SECOND
Static value CountPerSecond for UnitType.
|
static UnitType |
MILLISECONDS
Static value Milliseconds for UnitType.
|
static UnitType |
PERCENT
Static value Percent for UnitType.
|
static UnitType |
SECONDS
Static value Seconds for UnitType.
|
Constructor and Description |
---|
UnitType() |
Modifier and Type | Method and Description |
---|---|
static UnitType |
fromString(String name)
Creates or finds a UnitType from its string representation.
|
static Collection<UnitType> |
values() |
equals, fromString, hashCode, toString, values, withNameValue
public static final UnitType COUNT
public static final UnitType BYTES
public static final UnitType SECONDS
public static final UnitType PERCENT
public static final UnitType COUNT_PER_SECOND
public static final UnitType BYTES_PER_SECOND
public static final UnitType MILLISECONDS
public static UnitType fromString(String name)
name
- a name to look forpublic static Collection<UnitType> values()
Copyright © 2019. All rights reserved.