Serializable, Comparable<ConditionType>public enum ConditionType extends Enum<ConditionType>
| Enum Constant | Description |
|---|---|
ED25519_SHA256 |
|
PREFIX_SHA256 |
|
PREIMAGE_SHA256 |
|
RSA_SHA256 |
|
THRESHOLD_SHA256 |
| Modifier and Type | Method | Description |
|---|---|---|
static ConditionType |
fromString(String typeName) |
|
int |
getByteIndex() |
|
static byte[] |
getEnumOfTypesAsBitString(EnumSet<ConditionType> types) |
|
static String |
getEnumOfTypesAsString(EnumSet<ConditionType> types) |
|
static EnumSet<ConditionType> |
getEnumOfTypesFromBitString(byte[] bitStringData) |
|
static EnumSet<ConditionType> |
getEnumOfTypesFromString(String subtypes) |
|
int |
getMask() |
|
int |
getTypeCode() |
|
boolean |
isBitSet(byte[] bitString) |
|
static String |
join(String conjunction,
String[] list) |
|
String |
toString() |
|
static ConditionType |
valueOf(int typeCode) |
Returns the enum constant of this type with the specified name.
|
static ConditionType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ConditionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionType PREIMAGE_SHA256
public static final ConditionType PREFIX_SHA256
public static final ConditionType THRESHOLD_SHA256
public static final ConditionType RSA_SHA256
public static final ConditionType ED25519_SHA256
public static ConditionType[] values()
for (ConditionType c : ConditionType.values()) System.out.println(c);
public static ConditionType 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 int getTypeCode()
public String toString()
toString in class Enum<ConditionType>public int getMask()
public int getByteIndex()
public boolean isBitSet(byte[] bitString)
public static ConditionType valueOf(int typeCode)
typeCode - 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 static byte[] getEnumOfTypesAsBitString(EnumSet<ConditionType> types)
public static String getEnumOfTypesAsString(EnumSet<ConditionType> types)
public static ConditionType fromString(String typeName)
public static EnumSet<ConditionType> getEnumOfTypesFromString(String subtypes)
public static EnumSet<ConditionType> getEnumOfTypesFromBitString(byte[] bitStringData)
Copyright © 2018. All rights reserved.