public enum ItemTypeEnum extends Enum<ItemTypeEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static ItemTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemTypeEnum FILE
public static final ItemTypeEnum FOLDER
public static final ItemTypeEnum ITEM
public static ItemTypeEnum[] values()
for (ItemTypeEnum c : ItemTypeEnum.values()) System.out.println(c);
public static ItemTypeEnum 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 getType()
Copyright © 2018 YiFangYun. All rights reserved.