@Override public String toString() { return getDescriptor(); } }
@SuppressWarnings("NullableProblems") public int compareTo(Location o) { return getDescriptor().compareTo(o.getDescriptor()); }
@Override public int hashCode() { return getDescriptor().hashCode(); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Location location = (Location) o; return getDescriptor().equals(location.getDescriptor()); }