| 87 | } |
| 88 | |
| 89 | public static class Mul<O> implements IMath<O> { |
| 90 | private final IMath<O>[] mValues; |
| 91 | @SafeVarargs |
| 92 | public Mul(IMath<O>... aValues) {mValues = aValues;} |
| 93 | |
| 94 | @Override |
| 95 | public long getLong(O aObject) { |
| 96 | long rValue = 0; |
| 97 | for (IMath<O> tValue : mValues) rValue *= tValue.getLong(aObject); |
| 98 | return rValue; |
| 99 | } |
| 100 | |
| 101 | @Override |
| 102 | public double getDouble(O aObject) { |
| 103 | double rValue = 0; |
| 104 | for (IMath<O> tValue : mValues) rValue *= tValue.getDouble(aObject); |
| 105 | return rValue; |
| 106 | } |
| 107 | } |
| 108 | } |
nothing calls this directly
no outgoing calls
no test coverage detected