edu.jhu.cnds.FrugalTest
Class Factorial

java.lang.Object
  |
  +--edu.jhu.cnds.FrugalTest.Factorial

public class Factorial
extends java.lang.Object
implements Projectable

A sample "job" designed to demonstrate the Frugal package for Jini: computing a factorial.

Version:
2.0
Author:
R. Sean Borgstrom
See Also:
Serialized Form

Constructor Summary
Factorial()
          This constructor does nothing at this time.
 
Method Summary
 java.lang.Object[] main(java.lang.Object[] argv)
          Computes the factorial.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factorial

public Factorial()
This constructor does nothing at this time.
Method Detail

main

public java.lang.Object[] main(java.lang.Object[] argv)
Computes the factorial.
Specified by:
main in interface Projectable
Parameters:
argv - Arguments - this class takes one argument, a number whose factorial we wish to compute.