/** * Provides a default implementation of the {@link BoundProperty} interface to extract the depth as the bound * property. * * @param searchNode The search node to check the bounded property of. * * @return The search depth of the node. */ public float getBoundProperty(SearchNode searchNode) { return (float) searchNode.getDepth(); }
/** * Provides a default implementation of the {@link BoundProperty} interface to extract the depth as the bound * property. * * @param searchNode The search node to check the bounded property of. * * @return The search depth of the node. */ public float getBoundProperty(SearchNode searchNode) { return (float) searchNode.getDepth(); }