@Override public int compareTo(IStatFunction o) { int result = getPriority() - o.getPriority(); if (result == 0) return this.hashCode() - o.hashCode(); return result; }