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