Package com.yahoo.document.update
Enum ValueUpdate.ValueUpdateClassID
- java.lang.Object
-
- java.lang.Enum<ValueUpdate.ValueUpdateClassID>
-
- com.yahoo.document.update.ValueUpdate.ValueUpdateClassID
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ValueUpdate.ValueUpdateClassID>
- Enclosing class:
- ValueUpdate<T extends FieldValue>
public static enum ValueUpdate.ValueUpdateClassID extends java.lang.Enum<ValueUpdate.ValueUpdateClassID>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
ARITHMETIC
ASSIGN
CLEAR
MAP
REMOVE
TENSORADD
TENSORMODIFY
TENSORREMOVE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueUpdate.ValueUpdateClassID
getID(int id)
static ValueUpdate.ValueUpdateClassID
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValueUpdate.ValueUpdateClassID[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final ValueUpdate.ValueUpdateClassID ADD
-
ARITHMETIC
public static final ValueUpdate.ValueUpdateClassID ARITHMETIC
-
ASSIGN
public static final ValueUpdate.ValueUpdateClassID ASSIGN
-
CLEAR
public static final ValueUpdate.ValueUpdateClassID CLEAR
-
MAP
public static final ValueUpdate.ValueUpdateClassID MAP
-
REMOVE
public static final ValueUpdate.ValueUpdateClassID REMOVE
-
TENSORMODIFY
public static final ValueUpdate.ValueUpdateClassID TENSORMODIFY
-
TENSORADD
public static final ValueUpdate.ValueUpdateClassID TENSORADD
-
TENSORREMOVE
public static final ValueUpdate.ValueUpdateClassID TENSORREMOVE
-
-
Method Detail
-
values
public static ValueUpdate.ValueUpdateClassID[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValueUpdate.ValueUpdateClassID c : ValueUpdate.ValueUpdateClassID.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueUpdate.ValueUpdateClassID valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getID
public static ValueUpdate.ValueUpdateClassID getID(int id)
-
-