public enum BinaryOperator extends Enum<BinaryOperator>
Modifier and Type | Method and Description |
---|---|
static BinaryOperator |
fromString(String s) |
static BinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperator AND
public static final BinaryOperator NAND
public static final BinaryOperator OR
public static final BinaryOperator NOR
public static final BinaryOperator XOR
public static final BinaryOperator XNOR
public static BinaryOperator[] values()
for (BinaryOperator c : BinaryOperator.values()) System.out.println(c);
public static BinaryOperator 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 BinaryOperator fromString(String s)
Copyright © 2021. All rights reserved.