public static List<Property> removeDups(List<Property> org) {
    List<Property> result = new ArrayList<>(org.size());
    for (Property p : org)
      if (!result.contains(p))  // O(n**2)
        result.add(p);
    return result;
  }
public static List<Property> removeDups(List<Property> org) {
    List<Property> result = new ArrayList<>(org.size());
    for (Property p : org)
      if (!result.contains(p))  
        result.add(p);
    return result;
  }
public static List < Property > removeDups ( List < Property > org ) { List < Property > result = new ArrayList <> ( org . size ( ) ) ; for ( Property p : org ) if ( ! result . contains ( p ) ) // O(n**2) result . add ( p ) ; return result ; }
first one override
first one override