@Override
	public synchronized boolean equals(Object obj) {
		if (obj == null)
			return false;
		if (this == obj)
			return true;
		if (getClass() != obj.getClass())
			return false;

		WayOsm other = (WayOsm) obj;

		if (nodos == null) {
			if (other.nodos != null)
				return false;
		} else if (this.sortNodes().size() == other.sortNodes().size()){
			boolean equal = true;
			for(int x = 0; equal && x < this.sortNodes().size(); x++)
				equal = this.sortNodes().get(x).equals(other.sortNodes().get(x));
			return equal;
		}
		else 
			return false; 

		return true;
	}