MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / getDouble

Method getDouble

src/main/java/gregapi/code/IMath.java:66–66  ·  view source on GitHub ↗
(O aObject)

Source from the content-addressed store, hash-verified

64 public Ter(ICondition<O> aCondition, IMath<O> aValueTrue, IMath<O> aValueFalse) {mCondition = aCondition; mValueTrue = aValueTrue; mValueFalse = aValueFalse;}
65 @Override public long getLong(O aObject) {return mCondition.isTrue(aObject) ? mValueTrue.getLong(aObject) : mValueFalse.getLong(aObject);}
66 @Override public double getDouble(O aObject) {return mCondition.isTrue(aObject) ? mValueTrue.getDouble(aObject) : mValueFalse.getDouble(aObject);}
67 }
68
69 public static class Sum<O> implements IMath<O> {

Callers

nothing calls this directly

Calls 2

isTrueMethod · 0.65
getDoubleMethod · 0.65

Tested by

no test coverage detected