org.jbehave.core.steps
Class StepFinder.ByLevenshteinDistance

java.lang.Object
  extended by org.jbehave.core.steps.StepFinder.ByLevenshteinDistance
All Implemented Interfaces:
StepFinder.PrioritisingStrategy
Enclosing class:
StepFinder

public static class StepFinder.ByLevenshteinDistance
extends Object
implements StepFinder.PrioritisingStrategy

Strategy to priorise candidate steps by Levenshtein Distance


Constructor Summary
StepFinder.ByLevenshteinDistance()
           
 
Method Summary
 List<StepCandidate> prioritise(String stepAsText, List<StepCandidate> candidates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepFinder.ByLevenshteinDistance

public StepFinder.ByLevenshteinDistance()
Method Detail

prioritise

public List<StepCandidate> prioritise(String stepAsText,
                                      List<StepCandidate> candidates)
Specified by:
prioritise in interface StepFinder.PrioritisingStrategy


Copyright © 2003-2012. All Rights Reserved.