/** * Tests if the given {@code object}'s class is the same as this, in which case the method * returns {@link #equals(WrenchReadOnly)}, it returns {@code false} otherwise. * * @param object the object to compare against this. Not modified. * @return {@code true} if {@code object} and this are exactly equal, {@code false} otherwise. */ @Override public boolean equals(Object object) { if (object instanceof WrenchReadOnly) return WrenchBasics.super.equals((WrenchReadOnly) object); else return false; }