public static enum UtlUnit.ByteUnit extends Enum<UtlUnit.ByteUnit>
Enum Constant and Description |
---|
Bytes |
Gigabytes |
Kilobytes |
Megabytes |
Petabytes |
Terabytes |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static UtlUnit.ByteUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UtlUnit.ByteUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UtlUnit.ByteUnit Bytes
public static final UtlUnit.ByteUnit Kilobytes
public static final UtlUnit.ByteUnit Megabytes
public static final UtlUnit.ByteUnit Gigabytes
public static final UtlUnit.ByteUnit Terabytes
public static final UtlUnit.ByteUnit Petabytes
public static UtlUnit.ByteUnit[] values()
for (UtlUnit.ByteUnit c : UtlUnit.ByteUnit.values()) System.out.println(c);
public static UtlUnit.ByteUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<UtlUnit.ByteUnit>
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.