Factorial.doubleValue(int).
Factorial of a number.@Deprecated public final class FactorialDouble extends Object
| Modifier and Type | Method and Description |
|---|---|
static FactorialDouble |
create()
Deprecated.
Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int).
This class no longer supports a cache. This method returns a reference to a single instance. |
double |
value(int n)
Deprecated.
Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int).
The result of calling this method is the same as calling the |
FactorialDouble |
withCache(int cacheSize)
Deprecated.
Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int).
This class no longer supports a cache. This method returns a reference to the same object. |
@Deprecated public static FactorialDouble create()
Factorial.doubleValue(int).
This class no longer supports a cache. This method returns a reference to a single instance.
@Deprecated public FactorialDouble withCache(int cacheSize)
Factorial.doubleValue(int).
This class no longer supports a cache. This method returns a reference to the same object.
cacheSize - Ignored.@Deprecated public double value(int n)
Factorial.doubleValue(int).
The result of calling this method is the same as calling the Factorial.doubleValue(int).
n - Argument.n!IllegalArgumentException - if n < 0.Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.