public class NumberOperationContributor extends OperationContributor
cachedMethodNames| Constructor and Description |
|---|
NumberOperationContributor() |
| Modifier and Type | Method and Description |
|---|---|
Number |
abs() |
double |
asDouble() |
float |
asFloat() |
int |
asInteger() |
long |
asLong() |
double |
asReal() |
int |
ceiling() |
boolean |
contributesTo(Object target) |
long |
factorial()
n!.
|
int |
floor() |
protected Number |
getTarget() |
double |
ln() |
double |
log() |
double |
log10() |
Number |
max(Number other) |
Number |
min(Number other) |
Number |
pow(Number n) |
int |
round() |
findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, includeInheritedMethods, setContext, setTargetpublic boolean contributesTo(Object target)
contributesTo in class OperationContributorprotected Number getTarget()
getTarget in class OperationContributorOperationContributor.target field.public long factorial()
public int floor()
public int ceiling()
public int round()
public double ln()
public double log()
public double log10()
public Number abs()
public double asReal()
public double asDouble()
public float asFloat()
public int asInteger()
public long asLong()
Copyright © 2020. All rights reserved.