public static enum Comment.Kind extends java.lang.Enum<Comment.Kind>
| Enum Constant and Description |
|---|
DOCUMENTATION
Documentation.
|
MULTIPLE_LINES
Multiple lines.
|
SINGLE_LINE
A single line.
|
| Modifier and Type | Method and Description |
|---|---|
static Comment.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comment.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comment.Kind SINGLE_LINE
public static final Comment.Kind MULTIPLE_LINES
public static final Comment.Kind DOCUMENTATION
public static Comment.Kind[] values()
for (Comment.Kind c : Comment.Kind.values()) System.out.println(c);
public static Comment.Kind 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 nullCopyright © 2014. All Rights Reserved.