public enum Component extends Enum<Component>
Enum Constant and Description |
---|
EXPRESSION |
HOLDER |
POLARITY |
TARGET |
Modifier and Type | Method and Description |
---|---|
static Component |
forLetter(char letter) |
static Set<Component> |
forLetters(String letters) |
String[] |
getHeadPos() |
char |
getLetter() |
static Component |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component POLARITY
public static final Component EXPRESSION
public static final Component HOLDER
public static final Component TARGET
public static Component[] values()
for (Component c : Component.values()) System.out.println(c);
public static Component 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 char getLetter()
public String[] getHeadPos()
public static Component forLetter(char letter)
Copyright © 2016–2020 FBK. All rights reserved.