@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((end == null) ? 0 : end.hashCode()); result = prime * result + ((start == null) ? 0 : start.hashCode()); result = prime * result + ((way == null) ? 0 : way.hashCode()); return result; }
@Override public int hashCode() { return way.hashCode(); }