public enum ValuationMethod extends Enum<ValuationMethod>
Enum Constant and Description |
---|
AVERAGE_PERPETUAL |
FIFO_PERIODIC |
FIFO_PERPETUAL |
LIFO_PERIODIC |
LIFO_PERPETUAL |
Modifier and Type | Method and Description |
---|---|
static ValuationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValuationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValuationMethod FIFO_PERPETUAL
public static final ValuationMethod LIFO_PERPETUAL
public static final ValuationMethod AVERAGE_PERPETUAL
public static final ValuationMethod FIFO_PERIODIC
public static final ValuationMethod LIFO_PERIODIC
public static ValuationMethod[] values()
for (ValuationMethod c : ValuationMethod.values()) System.out.println(c);
public static ValuationMethod 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 © 2010–2016. All rights reserved.