public static class Operations.UseIfGreaterThan extends Operations.UseBase
a > b else use aBinaryOperation.Stubbr, dr, lr| Constructor and Description |
|---|
UseIfGreaterThan(boolean br,
long lr,
double dr) |
UseIfGreaterThan(Number r) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanOperate(long a,
long b) |
void |
complexOperate(double[] out,
double ra,
double ia,
double rb,
double ib) |
double |
doubleOperate(double a,
double b) |
long |
longOperate(long a,
long b) |
String |
toString() |
toStringpublic UseIfGreaterThan(boolean br, long lr, double dr)
br - given value as booleanlr - given value as longdr - given value as doublepublic UseIfGreaterThan(Number r)
r - given value as Numberpublic boolean booleanOperate(long a, long b)
booleanOperate in interface BinaryOperationbooleanOperate in class Operations.UseBasea - first operandb - second operandpublic long longOperate(long a, long b)
longOperate in interface BinaryOperationlongOperate in class Operations.UseBasea - first operandb - second operandpublic double doubleOperate(double a, double b)
doubleOperate in interface BinaryOperationdoubleOperate in class Operations.UseBasea - first operandb - second operandpublic void complexOperate(double[] out, double ra, double ia, double rb, double ib)
complexOperate in interface BinaryOperationcomplexOperate in class Operations.UseBaseout - holds (ra, ia) op (rb, ib)ra - real part of first operandia - imaginary part of first operandrb - real part of second operandib - imaginary part of second operandCopyright © 2014–2022 Eclipse Foundation. All rights reserved.