/** * Compares two property definitions based on their index number. * * @param other the other property definition to be compared with * @return a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than * the specified object. * @see #getNumber() * @since 2.4M2 */ public int compareTo(PropertyClass other) { return this.getBasePropertyClass().compareTo(other.getBasePropertyClass()); } }