public enum MomentOperations extends Enum<MomentOperations>
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static MomentOperations |
of(String stringValue) |
static MomentOperations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MomentOperations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MomentOperations ADD
public static final MomentOperations SUBTRACT
public static final MomentOperations START_OF
public static final MomentOperations END_OF
public static MomentOperations[] values()
for (MomentOperations c : MomentOperations.values()) System.out.println(c);
public static MomentOperations 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 String getValue()
public static MomentOperations of(String stringValue)
Copyright © 2018–2022 Tesler. All rights reserved.