boolean (Object object) { if (this == object) return true; if (!(object instanceof InstanceofInterfaces)) return false; if (!super.equals(object)) return false; final InstanceofInterfaces that = (InstanceofInterfaces)object; if (!s.equals(that.s)) return false; return true; }