public enum Type extends java.lang.Enum<Type> implements EnumConverter<Type>
Enum Constant and Description |
---|
AMAZON |
CROWDIN |
CUSTOM_MT |
DEEPL |
GOOGLE |
GOOGLE_AUTOML |
MICROSOFT |
MODERNMT |
Modifier and Type | Method and Description |
---|---|
static Type |
from(java.lang.String value) |
java.lang.String |
to(Type v) |
static Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type GOOGLE
public static final Type GOOGLE_AUTOML
public static final Type MICROSOFT
public static final Type DEEPL
public static final Type AMAZON
public static final Type MODERNMT
public static final Type CROWDIN
public static final Type CUSTOM_MT
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type 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 nullpublic static Type from(java.lang.String value)
public java.lang.String to(Type v)
to
in interface EnumConverter<Type>