public static enum ItemKNN.AggregationApproach extends Enum<ItemKNN.AggregationApproach>
Enum Constant and Description |
---|
MEAN |
WEIGHTED_MEAN |
Modifier and Type | Method and Description |
---|---|
static ItemKNN.AggregationApproach |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemKNN.AggregationApproach[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemKNN.AggregationApproach MEAN
public static final ItemKNN.AggregationApproach WEIGHTED_MEAN
public static ItemKNN.AggregationApproach[] values()
for (ItemKNN.AggregationApproach c : ItemKNN.AggregationApproach.values()) System.out.println(c);
public static ItemKNN.AggregationApproach 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 © 2020. All rights reserved.