@Override public int hashCode() { int hash = 5; hash = 89 * hash + (min != null ? min.hashCode() : 0); hash = 89 * hash + (max != null ? max.hashCode() : 0); return hash; }
@Override public int hashCode() { final int prime = 31; return prime + ((location == null) ? 0 : location.hashCode()); }