RE
- public class AndOperator<RE extends IRingElement<RE>> extends java.lang.Object implements DyadicOperator<RE>
Modifier and Type | Field and Description |
---|---|
private static DyadicOperator<? extends IRingElement<?>> |
INSTANCE
The singleton for this class.
|
Constructor and Description |
---|
AndOperator()
Deprecated.
use
getInstance() |
Modifier and Type | Method and Description |
---|---|
RE |
apply(RE x,
RE y)
Applies the function to two elements.
|
static DyadicOperator<? extends IRingElement<?>> |
getInstance() |
private static final DyadicOperator<? extends IRingElement<?>> INSTANCE
@Deprecated public AndOperator()
getInstance()
getInstance()
.public static DyadicOperator<? extends IRingElement<?>> getInstance()
public RE apply(RE x, RE y)
DyadicOperator
apply
in interface DyadicOperator<RE extends IRingElement<RE>>
x
- the value of one elementy
- the value of the other element