public enum BinaryOp extends Enum<BinaryOp>
Enum Constant and Description |
---|
As |
In |
Instanceof |
Is |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getValue() |
static BinaryOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOp Is
public static final BinaryOp Instanceof
public static final BinaryOp In
public static final BinaryOp As
public static BinaryOp[] values()
for (BinaryOp c : BinaryOp.values()) System.out.println(c);
public static BinaryOp 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 getValue()
public String getName()
Copyright © 2016 The Apache Software Foundation. All rights reserved.