public static enum TranslationStatistics.StatUnit extends Enum<TranslationStatistics.StatUnit>
Enum Constant and Description |
---|
MESSAGE
Statistics are measured in messages (i.e.
|
WORD
Statistics are measured in words.
|
Modifier and Type | Method and Description |
---|---|
static TranslationStatistics.StatUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslationStatistics.StatUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslationStatistics.StatUnit WORD
public static final TranslationStatistics.StatUnit MESSAGE
public static TranslationStatistics.StatUnit[] values()
for (TranslationStatistics.StatUnit c : TranslationStatistics.StatUnit.values()) System.out.println(c);
public static TranslationStatistics.StatUnit 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 © 2015 Zanata Project. All rights reserved.