|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Operations
Provides central logical operations for truth-value types.
Operations contains BinaryFunction abstractions of
mathematical operations like ∧ ∨ ¬ ⇒ ⇔
etc.
All function objects in this class provide canonical equality:
Functionals.compose(Function, Function)
,
Functionals.genericCompose(BinaryFunction, Object, Object)
Field Summary | |
---|---|
static BinaryFunction |
and
Conjunction and ∧:Dt×Dt→Dt; (x,y) ↦ x∧y. |
static Function |
andFold
n-ary and ⋀: Dtn→Dt; (xi) ↦ ⋀i xi = (|true,∧|) (xi). |
static Type |
BINARY_LOGICAL_JUNCTOR
|
static BinaryFunction |
equiv
|
static Type |
FOLD_LOGICAL_JUNCTOR
|
static BinaryFunction |
impl
|
static Function |
not
Negation not ¬:Dt→Dt; x ↦ ¬x. |
static Operations |
operations
Class alias object. |
static BinaryFunction |
or
|
static Function |
orFold
|
static BinaryFunction |
reverseImpl
|
static TypeSystem |
typeSystem
|
static Type |
UNARY_LOGICAL_JUNCTOR
|
static BinaryFunction |
xor
|
Field Detail |
---|
static final Operations operations
static final TypeSystem typeSystem
static final Type UNARY_LOGICAL_JUNCTOR
static final Type BINARY_LOGICAL_JUNCTOR
static final Type FOLD_LOGICAL_JUNCTOR
static final Function not
static final BinaryFunction and
static final Function andFold
Treats its argument as a list like Functionals.Catamorphism
.
Functionals.Catamorphism
,
Predicates.TRUE
,
and
static final BinaryFunction or
static final Function orFold
static final BinaryFunction xor
static final BinaryFunction impl
static final BinaryFunction reverseImpl
static final BinaryFunction equiv
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |