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