/** * The default implementation of this method is to call * id.namespaceHashCode(). Subclasses may override. * * @param id * the id in this Namespace to get the hashcode for. Must not be * <code>null</code>. * @return the hashcode for the given id. Returned value must be unique * within this process. */ protected int getHashCodeForID(BaseID id) { return id.namespaceHashCode(); }
/** * The default implementation of this method is to call * id.namespaceHashCode(). Subclasses may override. * * @param id * the id in this Namespace to get the hashcode for. Must not be * <code>null</code>. * @return the hashcode for the given id. Returned value must be unique * within this process. */ protected int getHashCodeForID(BaseID id) { return id.namespaceHashCode(); }