|
ref_send API 2.17 defensive programming in Java |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.waterken.factorial.Factorial
public final class Factorial
A tail recursive factorial implementation.
| Nested Class Summary | |
|---|---|
static interface |
Factorial.Recursion
The inner loop of a tail recursive factorial implementation. |
| Method Summary | |
|---|---|
static Promise<java.lang.Integer> |
make(Eventual _,
int n)
Computes a factorial. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Promise<java.lang.Integer> make(Eventual _,
int n)
_ - eventual operatorn - >= 0
n
|
ref_send API 2.17 defensive programming in Java |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.