Enum FixedParameters.HexKeyWriter
- java.lang.Object
-
- java.lang.Enum<FixedParameters.HexKeyWriter>
-
- com.h2tcoin.takamakachain.globalContext.FixedParameters.HexKeyWriter
-
- All Implemented Interfaces:
Serializable
,Comparable<FixedParameters.HexKeyWriter>
- Enclosing class:
- FixedParameters
public static enum FixedParameters.HexKeyWriter extends Enum<FixedParameters.HexKeyWriter>
1 - 16 files 2 - 256 files 3 - 4096 files and so on... the number of files is 16^depth
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED_BET
BALANCE
balance folder extension 3BLOCKS
NODE
OVER_THE_LIMIT
STAKE
STAKE_UNDO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDepth()
static FixedParameters.HexKeyWriter
valueOf(String name)
Returns the enum constant of this type with the specified name.static FixedParameters.HexKeyWriter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BALANCE
public static final FixedParameters.HexKeyWriter BALANCE
balance folder extension 3
-
NODE
public static final FixedParameters.HexKeyWriter NODE
-
STAKE_UNDO
public static final FixedParameters.HexKeyWriter STAKE_UNDO
-
STAKE
public static final FixedParameters.HexKeyWriter STAKE
-
OVER_THE_LIMIT
public static final FixedParameters.HexKeyWriter OVER_THE_LIMIT
-
BLOCKS
public static final FixedParameters.HexKeyWriter BLOCKS
-
ACCEPTED_BET
public static final FixedParameters.HexKeyWriter ACCEPTED_BET
-
-
Method Detail
-
values
public static FixedParameters.HexKeyWriter[] 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 (FixedParameters.HexKeyWriter c : FixedParameters.HexKeyWriter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FixedParameters.HexKeyWriter 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
-
getDepth
public int getDepth()
-
-