@Test public void assertEqualPartly() { QueryRow queryRow1 = new QueryRow(Collections.singletonList((Object) 10), Collections.singletonList(1)); QueryRow queryRow2 = new QueryRow(Collections.singletonList((Object) 8), Collections.singletonList(1)); assertTrue(queryRow.equals(queryRow1)); assertFalse(queryRow.equals(queryRow2)); }
@Override public boolean equals(final Object obj) { return this == obj || null != obj && getClass() == obj.getClass() && isEqual((QueryRow) obj); }
QueryRow { @Override public boolean equals(final Object obj) { return this == obj || null != obj && getClass() == obj.getClass() && isEqual((QueryRow) obj); } }
QueryRow { @Override public boolean equals(final Object obj) { return this == obj || null != obj && getClass() == obj.getClass() && isEqual((QueryRow) obj); } QueryRow(final List<Object> rowData); }
QueryRow { @Override public boolean equals(final Object obj) { return this == obj || null != obj && getClass() == obj.getClass() && isEqual((QueryRow) obj); } QueryRow(final List<Object> rowData); Object getColumnValue(final int columnIndex); @Override boolean equals(final Object obj); @Override int hashCode(); }
QueryRow { @Override public boolean equals(final Object obj) { return this == obj || null != obj && getClass() == obj.getClass() && isEqual((QueryRow) obj); } QueryRow(final List<Object> rowData); Object getColumnValue(final int columnIndex); @Override boolean equals(final Object obj); @Override int hashCode();  }