public static enum Encoder.Algorithm extends Enum<Encoder.Algorithm>
| Modifier and Type | Method and Description |
|---|---|
static Encoder.Algorithm |
fromString(String algorithm) |
static Encoder.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encoder.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encoder.Algorithm CRF_L2
public static final Encoder.Algorithm CRF_L1
public static final Encoder.Algorithm MIRA
public static Encoder.Algorithm[] values()
for (Encoder.Algorithm c : Encoder.Algorithm.values()) System.out.println(c);
public static Encoder.Algorithm 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 static Encoder.Algorithm fromString(String algorithm)
Copyright © 2014–2021 码农场. All rights reserved.