1:  package de.luschny.math.factorial;
   2:   
   3:  import de.luschny.math.arithmetic.Xint;
   4:   
   5:  // An interface for the factorial function
   6:  //        n! = 1*2*3*...*n
   7:  // for nonnegative integer values n.
   8:   
   9:  public interface IFactorialFunction
  10:  {
  11:      Xint factorial(int n);
  12:   
  13:      String getName();
  14:  }
  15:   
  16:  // endOfIFactorialFunction