@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; }
/** Crude implementation of hashCode, so intervals could be stored in HashSets. */ public int hashCode() { return interval.hashCode(); }