public enum FTUnit extends Enum<FTUnit>
Enum Constant and Description |
---|
PARAGRAPHS
Paragraph unit.
|
SENTENCES
Sentence unit.
|
WORDS
Word unit.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation.
|
static FTUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FTUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FTUnit WORDS
public static final FTUnit SENTENCES
public static final FTUnit PARAGRAPHS
public static FTUnit[] values()
for (FTUnit c : FTUnit.values()) System.out.println(c);
public static FTUnit 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 © 2005–2015 BaseX Team. All rights reserved.