public enum DistanceMetric extends java.lang.Enum<DistanceMetric> implements org.broadinstitute.barclay.argparser.CommandLineParser.ClpEnum
Enum Constant and Description |
---|
FREE |
HAMMING |
LENIENT_HAMMING |
Modifier and Type | Method and Description |
---|---|
int |
distance(BarcodeEditDistanceQuery editDistance) |
protected abstract int |
distance0(SingleBarcodeDistanceMetric editDistance) |
java.lang.String |
getHelpDoc() |
static DistanceMetric |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceMetric HAMMING
public static final DistanceMetric LENIENT_HAMMING
public static final DistanceMetric FREE
public static DistanceMetric[] values()
for (DistanceMetric c : DistanceMetric.values()) System.out.println(c);
public static DistanceMetric 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 nullprotected abstract int distance0(SingleBarcodeDistanceMetric editDistance)
public int distance(BarcodeEditDistanceQuery editDistance)
public java.lang.String getHelpDoc()
getHelpDoc
in interface org.broadinstitute.barclay.argparser.CommandLineParser.ClpEnum