public static enum VoteWeighting.MinBalanceModel extends java.lang.Enum<VoteWeighting.MinBalanceModel>
Modifier and Type | Method and Description |
---|---|
static VoteWeighting.MinBalanceModel |
get(byte code) |
abstract long |
getBalance(VoteWeighting voteWeighting,
long voterId,
int height) |
byte |
getCode() |
static VoteWeighting.MinBalanceModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VoteWeighting.MinBalanceModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoteWeighting.MinBalanceModel NONE
public static final VoteWeighting.MinBalanceModel NQT
public static final VoteWeighting.MinBalanceModel ASSET
public static final VoteWeighting.MinBalanceModel CURRENCY
public static VoteWeighting.MinBalanceModel[] values()
for (VoteWeighting.MinBalanceModel c : VoteWeighting.MinBalanceModel.values()) System.out.println(c);
public static VoteWeighting.MinBalanceModel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getCode()
public abstract long getBalance(VoteWeighting voteWeighting, long voterId, int height)
public static VoteWeighting.MinBalanceModel get(byte code)