@Override public void project(double scaleThis, double scaleOther, VectConst other) { TestVect tv = (TestVect) other; if (!identity.equals(tv.identity)) { projectWasTested = true; } super.add(scaleThis, scaleOther, other); }
@Override public void add(double scaleThis, double scaleOther, VectConst other) { assertSameType(other); super.add(scaleThis, scaleOther, other); }