/** * The default implementation of this method is to call * first.namespaceCompareTo(second). Subclasses may override. * * @param first * the first id to compare. Must not be <code>null</code>. * @param second * the second id to compare. Must not be <code>null</code>. * @return int as specified by {@link Comparable}. */ protected int getCompareToForObject(BaseID first, BaseID second) { return first.namespaceCompareTo(second); }
/** * The default implementation of this method is to call * first.namespaceCompareTo(second). Subclasses may override. * * @param first * the first id to compare. Must not be <code>null</code>. * @param second * the second id to compare. Must not be <code>null</code>. * @return int as specified by {@link Comparable}. */ protected int getCompareToForObject(BaseID first, BaseID second) { return first.namespaceCompareTo(second); }