@Test public void testEqualsFailsWithOtherObject() { @SuppressWarnings("EqualsBetweenInconvertibleTypes") boolean e = (new BoolResult()).equals(0); assertFalse(e); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BoolResult)) { return false; } return this.changed == ((BoolResult) obj).changed; }
BoolResult implements QueryResult { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BoolResult)) { return false; } return this.changed == ((BoolResult) obj).changed; } }
BoolResult implements QueryResult { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BoolResult)) { return false; } return this.changed == ((BoolResult) obj).changed; }  }
BoolResult implements QueryResult { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BoolResult)) { return false; } return this.changed == ((BoolResult) obj).changed; }  @Override int getType(); @Override RowResult getRow(); @Override List<CountResultItem> getCountItems(); @Override long getCount(); @Override long getValue(); @Override boolean isChanged(); @Override List<GroupCount> getGroupCounts(); @Override RowIdentifiersResult getRowIdentifiers(); @Override boolean equals(Object obj); @Override int hashCode(); }
BoolResult implements QueryResult { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BoolResult)) { return false; } return this.changed == ((BoolResult) obj).changed; }  @Override int getType(); @Override RowResult getRow(); @Override List<CountResultItem> getCountItems(); @Override long getCount(); @Override long getValue(); @Override boolean isChanged(); @Override List<GroupCount> getGroupCounts(); @Override RowIdentifiersResult getRowIdentifiers(); @Override boolean equals(Object obj); @Override int hashCode();  }