@Override
 public int hashCode() {
   int result = type != null ? type.hashCode() : 0;
   result = 31 * result + (interval != null ? interval.hashCode() : 0);
   result = 31 * result + (functions != null ? functions.hashCode() : 0);
   return result;
 }