|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VoidFunction
A functor that encapsulates the void function f/0
which is constant if consistent.
Like "r = f()" it applies on
The set of all void functions of type {()}→B is Map(A0,B) = Map({()},B) = B{()} ≅ B. These functions have the form
f: {()}→B; () ↦ f()
Note that if you stick to functional void funtions (who are right-unique or consistent then),
there are only |B| different void maps who are all constant.
Function| Nested Class Summary | |
|---|---|
static interface |
VoidFunction.Composite
A composed VoidFunction. |
| Nested classes/interfaces inherited from interface orbital.logic.functor.Functor |
|---|
Functor.Specification |
| Field Summary | |
|---|---|
static Functor.Specification |
callTypeDeclaration
specification of these functors. |
| Method Summary | |
|---|---|
java.lang.Object |
apply()
Called to apply the VoidFunction. |
| Methods inherited from interface orbital.logic.functor.Functor |
|---|
equals, hashCode, toString |
| Field Detail |
|---|
static final Functor.Specification callTypeDeclaration
| Method Detail |
|---|
java.lang.Object apply()
f().
none - void non-argument
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||