Serializable, Comparable<OperationTypeMode>public enum OperationTypeMode extends Enum<OperationTypeMode>
| Modifier and Type | Method | Description |
|---|---|---|
int |
getNumberOfOperands() |
|
static OperationTypeMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OperationTypeMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationTypeMode UNARY
public static final OperationTypeMode BINARY
public static OperationTypeMode[] values()
for (OperationTypeMode c : OperationTypeMode.values()) System.out.println(c);
public static OperationTypeMode 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 getNumberOfOperands()
Copyright © 2017–2020 Holisticon AG. All rights reserved.