public enum ECogsMth extends Enum<ECogsMth>
COGS method FIFO/LIFO/AVERAGE.
| Enum Constant and Description |
|---|
AVERAGE
2 AVERAGE.
|
FIFO
0 FIFO.
|
LIFO
1 LIFO.
|
| Modifier and Type | Method and Description |
|---|---|
static ECogsMth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECogsMth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECogsMth FIFO
0 FIFO.
public static final ECogsMth LIFO
1 LIFO.
public static final ECogsMth AVERAGE
2 AVERAGE.
public static ECogsMth[] values()
for (ECogsMth c : ECogsMth.values()) System.out.println(c);
public static ECogsMth 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 © 2019. All rights reserved.