public enum ReadType extends Enum<ReadType>
| Modifier and Type | Method and Description |
|---|---|
static ReadType |
getOpType(String op) |
int |
getValue() |
boolean |
isCache() |
static ReadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadType NO_CACHE
public static final ReadType CACHE
public static ReadType[] values()
for (ReadType c : ReadType.values()) System.out.println(c);
public static ReadType 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 int getValue()
public boolean isCache()
public static ReadType getOpType(String op) throws IOException
IOExceptionCopyright © 2013. All rights reserved.