public static enum NIVision.NearestNeighborMetric extends Enum<NIVision.NearestNeighborMetric>
Enum Constant and Description |
---|
METRIC_EUCLIDEAN |
METRIC_MAXIMUM |
METRIC_SUM |
Modifier and Type | Method and Description |
---|---|
static NIVision.NearestNeighborMetric |
fromValue(int val) |
int |
getValue() |
static NIVision.NearestNeighborMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.NearestNeighborMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.NearestNeighborMetric METRIC_MAXIMUM
public static final NIVision.NearestNeighborMetric METRIC_SUM
public static final NIVision.NearestNeighborMetric METRIC_EUCLIDEAN
public static NIVision.NearestNeighborMetric[] values()
for (NIVision.NearestNeighborMetric c : NIVision.NearestNeighborMetric.values()) System.out.println(c);
public static NIVision.NearestNeighborMetric 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 NIVision.NearestNeighborMetric fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.