public static enum HashedEntry.Type extends java.lang.Enum<HashedEntry.Type> implements EnumSerializer.Itf
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
static HashedEntry.Type |
read(HInput input) |
static HashedEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HashedEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashedEntry.Type DIR
public static final HashedEntry.Type FILE
public static HashedEntry.Type[] values()
for (HashedEntry.Type c : HashedEntry.Type.values()) System.out.println(c);
public static HashedEntry.Type 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 nullpublic static HashedEntry.Type read(HInput input) throws java.io.IOException
java.io.IOExceptionpublic int getNumber()
getNumber in interface EnumSerializer.Itf