public static enum ApacheHttpClient4Engine.MemoryUnit extends Enum<ApacheHttpClient4Engine.MemoryUnit>
Enum Constant and Description |
---|
BY
Bytes
|
GB
Giga Bytes
|
KB
Killo Bytes
|
MB
Mega Bytes
|
Modifier and Type | Method and Description |
---|---|
static ApacheHttpClient4Engine.MemoryUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApacheHttpClient4Engine.MemoryUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApacheHttpClient4Engine.MemoryUnit BY
public static final ApacheHttpClient4Engine.MemoryUnit KB
public static final ApacheHttpClient4Engine.MemoryUnit MB
public static final ApacheHttpClient4Engine.MemoryUnit GB
public static ApacheHttpClient4Engine.MemoryUnit[] values()
for (ApacheHttpClient4Engine.MemoryUnit c : ApacheHttpClient4Engine.MemoryUnit.values()) System.out.println(c);
public static ApacheHttpClient4Engine.MemoryUnit 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 nullCopyright © 2014. All Rights Reserved.