public enum MapProofStatus extends java.lang.Enum<MapProofStatus> implements ProofStatus
Enum Constant and Description |
---|
CORRECT |
DUPLICATE_PATH |
EMBEDDED_PATH |
INVALID_ORDER |
NON_TERMINAL_NODE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description of the proof verification result.
|
java.lang.String |
toString() |
static MapProofStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapProofStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapProofStatus CORRECT
public static final MapProofStatus NON_TERMINAL_NODE
public static final MapProofStatus INVALID_ORDER
public static final MapProofStatus DUPLICATE_PATH
public static final MapProofStatus EMBEDDED_PATH
public static MapProofStatus[] values()
for (MapProofStatus c : MapProofStatus.values()) System.out.println(c);
public static MapProofStatus 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 java.lang.String getDescription()
ProofStatus
getDescription
in interface ProofStatus
public java.lang.String toString()
toString
in class java.lang.Enum<MapProofStatus>
Copyright © 2018 Exonum. All rights reserved.