Enum KeyContexts.TransactionListLength
- java.lang.Object
-
- java.lang.Enum<KeyContexts.TransactionListLength>
-
- com.h2tcoin.takamakachain.globalContext.KeyContexts.TransactionListLength
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyContexts.TransactionListLength>
- Enclosing class:
- KeyContexts
public static enum KeyContexts.TransactionListLength extends Enum<KeyContexts.TransactionListLength>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyContexts.TransactionListLength
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyContexts.TransactionListLength[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAST_20
public static final KeyContexts.TransactionListLength LAST_20
-
LAST_50
public static final KeyContexts.TransactionListLength LAST_50
-
LAST_100
public static final KeyContexts.TransactionListLength LAST_100
-
LIST_ALL
public static final KeyContexts.TransactionListLength LIST_ALL
-
-
Method Detail
-
values
public static KeyContexts.TransactionListLength[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyContexts.TransactionListLength c : KeyContexts.TransactionListLength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyContexts.TransactionListLength valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-