2018-03-13 23:45:55 +09:00
|
|
|
/*
|
2019-01-02 18:55:26 +08:00
|
|
|
* Copyright (C) 2018-2019 Lightbend Inc. <https://www.lightbend.com>
|
2018-03-13 23:45:55 +09:00
|
|
|
*/
|
|
|
|
|
|
2017-03-16 09:30:00 +01:00
|
|
|
package jdocs.cluster;
|
2012-11-08 18:49:54 +01:00
|
|
|
|
|
|
|
|
import java.math.BigInteger;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
|
|
public class FactorialResult implements Serializable {
|
2019-01-12 04:00:53 +08:00
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
public final int n;
|
|
|
|
|
public final BigInteger factorial;
|
2012-11-08 18:49:54 +01:00
|
|
|
|
2019-01-12 04:00:53 +08:00
|
|
|
FactorialResult(int n, BigInteger factorial) {
|
|
|
|
|
this.n = n;
|
|
|
|
|
this.factorial = factorial;
|
|
|
|
|
}
|
2014-12-12 11:49:32 -06:00
|
|
|
}
|