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

Class Neg

src/main/java/gregapi/code/IMath.java:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 public static class Neg<O> implements IMath<O> {
55 private final IMath<O> mValue;
56 public Neg(IMath<O> aValue) {mValue = aValue;}
57 @Override public long getLong(O aObject) {return -mValue.getLong(aObject);}
58 @Override public double getDouble(O aObject) {return -mValue.getDouble(aObject);}
59 }
60
61 public static class Ter<O> implements IMath<O> {
62 private final ICondition<O> mCondition;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected