public enum InventoryFrequency extends Enum<InventoryFrequency>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static InventoryFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryFrequency Daily
public static final InventoryFrequency Weekly
public static InventoryFrequency[] values()
for (InventoryFrequency c : InventoryFrequency.values()) System.out.println(c);
public static InventoryFrequency 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 toString()
toString
in class Enum<InventoryFrequency>
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.