|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.cm.frw.core.fun.impl.Function de.cm.frw.core.fun.impl.LP.ConsCell de.cm.frw.core.fun.impl.LP.ConsPair
public static class LP.ConsPair
Use a ConsCell to implement Pair
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.cm.frw.core.fun.impl.Function |
---|
Function.InvalidArguments |
Constructor Summary | |
---|---|
LP.ConsPair(java.lang.Object car,
java.lang.Object cdr)
|
Method Summary | |
---|---|
java.lang.Object |
first()
|
java.lang.Object |
second()
|
Methods inherited from class de.cm.frw.core.fun.impl.LP.ConsCell |
---|
checkArguments, isEmpty, operate, toString |
Methods inherited from class de.cm.frw.core.fun.impl.Function |
---|
apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, arity, box, box, box, box, box, box, box, box, box, box, box, box, box, box, box, is, main, map, map, reduce, unbox, val |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LP.ConsPair(java.lang.Object car, java.lang.Object cdr)
Method Detail |
---|
public java.lang.Object first()
first
in interface Pair
public java.lang.Object second()
second
in interface Pair
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |