public enum PMessageVariant extends Enum<PMessageVariant>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PMessageVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PMessageVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PMessageVariant STRUCT
public static final PMessageVariant UNION
public static final PMessageVariant EXCEPTION
public static PMessageVariant[] values()
for (PMessageVariant c : PMessageVariant.values()) System.out.println(c);
public static PMessageVariant 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 String toString()
toString
in class Enum<PMessageVariant>
Copyright © 2015–2017 morimekta.net. All rights reserved.