private static enum ApacheHttpClient4Executor.MemoryUnit extends java.lang.Enum<ApacheHttpClient4Executor.MemoryUnit>
Enum Constant and Description |
---|
BY
Bytes
|
GB
Giga Bytes
|
KB
Killo Bytes
|
MB
Mega Bytes
|
Modifier and Type | Method and Description |
---|---|
static ApacheHttpClient4Executor.MemoryUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApacheHttpClient4Executor.MemoryUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApacheHttpClient4Executor.MemoryUnit BY
public static final ApacheHttpClient4Executor.MemoryUnit KB
public static final ApacheHttpClient4Executor.MemoryUnit MB
public static final ApacheHttpClient4Executor.MemoryUnit GB
public static ApacheHttpClient4Executor.MemoryUnit[] values()
for (ApacheHttpClient4Executor.MemoryUnit c : ApacheHttpClient4Executor.MemoryUnit.values()) System.out.println(c);
public static ApacheHttpClient4Executor.MemoryUnit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null