T - the type of this objectpublic interface LogicalOperator<T extends LogicalOperator<T>> extends Nand<T>, Nor<T>, OrNot<T>, Xnor<T>
| Modifier and Type | Method and Description |
|---|---|
LogicalOperator<T> |
and(T other)
Intersects this object with another object to produce a combined result.
|
default LogicalOperator<T> |
nand(T other)
Intersects this object with another object to produce the complement of a combined result.
|
default LogicalOperator<T> |
nor(T other)
Unions this object with another object to produce the complement of a combined result.
|
LogicalOperator<T> |
not()
Gets the complement of this object.
|
LogicalOperator<T> |
or(T other)
Unions this object with another object to produce a combined result.
|
default LogicalOperator<T> |
orNot(T other)
Subtracts the other object from this object to produce the complement of a combined result.
|
default LogicalOperator<T> |
sub(T other)
Subtracts the other object from this object to produce a combined result.
|
default LogicalOperator<T> |
xnor(T other)
Disjunctively unions this object with another object to produce the complement of a combined result.
|
default LogicalOperator<T> |
xor(T other)
Disjunctively unions this object with another object to produce a combined result.
|
LogicalOperator<T> not()
Not~A or a logical NOT.not in interface Nand<T extends LogicalOperator<T>>not in interface Nor<T extends LogicalOperator<T>>not in interface Notnot in interface OrNot<T extends LogicalOperator<T>>not in interface Sub<T extends LogicalOperator<T>>not in interface Xnor<T extends LogicalOperator<T>>not in interface Xor<T extends LogicalOperator<T>>LogicalOperator<T> and(T other)
AndA & B or a logical AND.and in interface And<T extends LogicalOperator<T>>and in interface Nand<T extends LogicalOperator<T>>and in interface Sub<T extends LogicalOperator<T>>and in interface Xnor<T extends LogicalOperator<T>>and in interface Xor<T extends LogicalOperator<T>>other - the intersected objectother objectLogicalOperator<T> or(T other)
OrA | B or a logical OR.or in interface Nor<T extends LogicalOperator<T>>or in interface Or<T extends LogicalOperator<T>>or in interface OrNot<T extends LogicalOperator<T>>or in interface Xnor<T extends LogicalOperator<T>>or in interface Xor<T extends LogicalOperator<T>>other - the unioned objectother objectdefault LogicalOperator<T> xor(T other)
XorA ^ B or a logical XOR.xor in interface Xnor<T extends LogicalOperator<T>>xor in interface Xor<T extends LogicalOperator<T>>other - the disjunctively unioned objectother objectdefault LogicalOperator<T> sub(T other)
SubA - B or the relative complement.sub in interface Sub<T extends LogicalOperator<T>>sub in interface Xnor<T extends LogicalOperator<T>>sub in interface Xor<T extends LogicalOperator<T>>other - the subtrahend objectother object being
subtracted from this objectdefault LogicalOperator<T> nand(T other)
Nand~(A & B) or a logical NAND.nand in interface Nand<T extends LogicalOperator<T>>other - the intersected objectother objectdefault LogicalOperator<T> nor(T other)
Nor~(A | B) or a logical NOR.nor in interface Nor<T extends LogicalOperator<T>>other - the unioned objectother objectdefault LogicalOperator<T> xnor(T other)
Xnor~(A ^ B) or a logical XNOR.xnor in interface Xnor<T extends LogicalOperator<T>>other - the disjunctively unioned objectother objectdefault LogicalOperator<T> orNot(T other)
OrNot~(A - B) or the complement of the relative complement.orNot in interface OrNot<T extends LogicalOperator<T>>other - the subtrahend objectother
object being subtracted from this object