@Override public boolean equals(Object obj){
  if (!(obj instanceof EagerForeignCollection)) {
    return false;
  }
  @SuppressWarnings("rawtypes") EagerForeignCollection other=(EagerForeignCollection)obj;
  return results.equals(other.results);
}

@ Override public boolean equals ( Object obj ) { if ( ! ( obj instanceof EagerForeignCollection ) ) { return false ; } @ SuppressWarnings ( "rawtypes" ) EagerForeignCollection other = ( EagerForeignCollection ) obj ; return results . equals ( other . results ) ; }
this is just a call to the equals method of the internal results list .
