|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orbital.logic.functor.Functions
public final class Functions
Function Implementations.
Functionals
Field Summary | |
---|---|
static Functions |
functions
Class alias object. |
static Function |
id
id: A→A; x ↦ x . |
static BinaryFunction |
projectFirst
Projects to the first argument, ignoring the second. |
static BinaryFunction |
projectSecond
Projects to the second argument, ignoring the first. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Functions functions
public static final Function id
public static final BinaryFunction projectFirst
projectFirst: (x,y) ↦ x.
Equals Functionals.onFirst
(Functions.id
)
Evolves: might be renamed.
public static BinaryFunction projectSecond
projectSecond: (x,y) ↦ y.
Equals Functionals.onSecond
(Functions.id
)
Evolves: might be renamed.
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |