public enum WeatherPatchOperation extends Enum<WeatherPatchOperation>
Enum Constant and Description |
---|
DIVIDE |
EQUAL |
INVALID |
MINUS |
MULTIPLY |
PLUS |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static WeatherPatchOperation |
fromValue(int value) |
String |
toString() |
static WeatherPatchOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherPatchOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherPatchOperation INVALID
public static final WeatherPatchOperation EQUAL
public static final WeatherPatchOperation PLUS
public static final WeatherPatchOperation MINUS
public static final WeatherPatchOperation MULTIPLY
public static final WeatherPatchOperation DIVIDE
public static WeatherPatchOperation[] values()
for (WeatherPatchOperation c : WeatherPatchOperation.values()) System.out.println(c);
public static WeatherPatchOperation 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 WeatherPatchOperation fromValue(int value)
public String toString()
toString
in class Enum<WeatherPatchOperation>
Copyright © 2022. All rights reserved.