public static enum Rabit.OpType extends Enum<Rabit.OpType> implements Serializable
Enum Constant and Description |
---|
BITWISE_OR |
MAX |
MIN |
SUM |
Modifier and Type | Method and Description |
---|---|
int |
getOperand() |
static Rabit.OpType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rabit.OpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rabit.OpType MAX
public static final Rabit.OpType MIN
public static final Rabit.OpType SUM
public static final Rabit.OpType BITWISE_OR
public static Rabit.OpType[] values()
for (Rabit.OpType c : Rabit.OpType.values()) System.out.println(c);
public static Rabit.OpType 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 int getOperand()
Copyright © 2020. All rights reserved.