@Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   DataReductionSlice other = (DataReductionSlice) obj;
   if (axes == null) {
     if (other.axes != null) return false;
   } else if (!axes.equals(other.axes)) return false;
   if (data == null) {
     if (other.data != null) return false;
   } else if (!data.equals(other.data)) return false;
   if (file == null) {
     if (other.file != null) return false;
   } else if (!file.equals(other.file)) return false;
   if (monitor == null) {
     if (other.monitor != null) return false;
   } else if (!monitor.equals(other.monitor)) return false;
   if (parent == null) {
     if (other.parent != null) return false;
   } else if (!parent.equals(other.parent)) return false;
   if (userData == null) {
     if (other.userData != null) return false;
   } else if (!userData.equals(other.userData)) return false;
   return true;
 }
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((axes == null) ? 0 : axes.hashCode());
   result = prime * result + ((data == null) ? 0 : data.hashCode());
   result = prime * result + ((file == null) ? 0 : file.hashCode());
   result = prime * result + ((monitor == null) ? 0 : monitor.hashCode());
   result = prime * result + ((parent == null) ? 0 : parent.hashCode());
   result = prime * result + ((userData == null) ? 0 : userData.hashCode());
   return result;
 }