public static enum Tokenizer.Type extends Enum<Tokenizer.Type>
Enum Constant and Description |
---|
ARRAY |
ASSIGN |
CLOSURE |
EOT |
EXECUTION |
NEWLINE |
PIPE |
SEMICOLON |
WORD |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Tokenizer.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tokenizer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tokenizer.Type ASSIGN
public static final Tokenizer.Type PIPE
public static final Tokenizer.Type SEMICOLON
public static final Tokenizer.Type NEWLINE
public static final Tokenizer.Type ARRAY
public static final Tokenizer.Type CLOSURE
public static final Tokenizer.Type EXECUTION
public static final Tokenizer.Type WORD
public static final Tokenizer.Type EOT
public static Tokenizer.Type[] values()
for (Tokenizer.Type c : Tokenizer.Type.values()) System.out.println(c);
public static Tokenizer.Type 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<Tokenizer.Type>
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.