+template<typename T>
+bool RangeCondition<T>::equals(const Condition &other) const
+{
+ const RangeCondition<T> *other_range = dynamic_cast<const RangeCondition<T> *>(&other);
+ if(!other_range)
+ return false;
+
+ return (min==other_range->min && max==other_range->max);
+}
+