* @deprecated because of the introduction of {@link Evaluator}. The equivalent
* is {@link Evaluators#toDepth(int)}.
*/
public static PruneEvaluator pruneAfterDepth( final int depth )
{
return new PruneEvaluator()
{
public boolean pruneAfter( Path position )
{
return position.length() >= depth;
}