Metadata. This class provides a list of common metric units and is not
meant to be a complete list of possible units.
Metadata
| Modifier and Type | Field and Description |
|---|---|
| public static final String | BITS
Represents bits. |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | MICROSECONDS
1/1000 |
| public static final String | MILLISECONDS
1/1000 |
| public static final String | |
| public static final String | NANOSECONDS
1/1000 |
| public static final String | NONE
No unit |
| public static final String | PER_SECOND
Represent per second |
| public static final String | PERCENT
Represents percentage |
| public static final String | SECONDS
Represents seconds |
| Access | Constructor and Description |
|---|---|
| private |
| BITS | back to summary |
|---|---|
| public static final String BITS Represents bits. Not defined by SI, but by IEC 60027 | |
| BYTES | back to summary |
|---|---|
| public static final String BYTES 8 | |
| DAYS | back to summary |
|---|---|
| public static final String DAYS 24 | |
| GIBIBITS | back to summary |
|---|---|
| public static final String GIBIBITS 1024 | |
| GIGABITS | back to summary |
|---|---|
| public static final String GIGABITS 1000 | |
| GIGABYTES | back to summary |
|---|---|
| public static final String GIGABYTES 1000 | |
| HOURS | back to summary |
|---|---|
| public static final String HOURS 60 | |
| KIBIBITS | back to summary |
|---|---|
| public static final String KIBIBITS 1024 | |
| KILOBITS | back to summary |
|---|---|
| public static final String KILOBITS 1000 | |
| KILOBYTES | back to summary |
|---|---|
| public static final String KILOBYTES 1000 | |
| MEBIBITS | back to summary |
|---|---|
| public static final String MEBIBITS 1024 | |
| MEGABITS | back to summary |
|---|---|
| public static final String MEGABITS 1000 | |
| MEGABYTES | back to summary |
|---|---|
| public static final String MEGABYTES 1000 | |
| MICROSECONDS | back to summary |
|---|---|
| public static final String MICROSECONDS 1/1000 | |
| MILLISECONDS | back to summary |
|---|---|
| public static final String MILLISECONDS 1/1000 | |
| MINUTES | back to summary |
|---|---|
| public static final String MINUTES 60 | |
| NANOSECONDS | back to summary |
|---|---|
| public static final String NANOSECONDS 1/1000 | |
| NONE | back to summary |
|---|---|
| public static final String NONE No unit | |
| PER_SECOND | back to summary |
|---|---|
| public static final String PER_SECOND Represent per second | |
| PERCENT | back to summary |
|---|---|
| public static final String PERCENT Represents percentage | |
| SECONDS | back to summary |
|---|---|
| public static final String SECONDS Represents seconds | |
| MetricUnits | back to summary |
|---|---|
| private MetricUnits() | |