public static enum ConsensusDocument.ConsensusFlavor extends Enum<ConsensusDocument.ConsensusFlavor>
| Modifier and Type | Method and Description |
|---|---|
static ConsensusDocument.ConsensusFlavor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsensusDocument.ConsensusFlavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsensusDocument.ConsensusFlavor NS
public static final ConsensusDocument.ConsensusFlavor MICRODESC
public static ConsensusDocument.ConsensusFlavor[] values()
for (ConsensusDocument.ConsensusFlavor c : ConsensusDocument.ConsensusFlavor.values()) System.out.println(c);
public static ConsensusDocument.ConsensusFlavor 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 nullCopyright © 2015. All rights reserved.