code: public static boolean areEquivalent(Dependency l, Dependency r)
     {
        if (l == r)
        {
           return true;
        }
        if ((l == null) && (r == null))
        {
           return true;
        }
        else if ((l == null) || (r == null))
        {
           return false;
        }
  
        return areEquivalent(l.getCoordinate(), r.getCoordinate());
     }
docs: Compare the {@link Coordinate} of each given {@link Dependency} for equivalence.