public List<Stepdoc> stepdocs(List<CandidateSteps> candidateSteps) {
        List<Stepdoc> stepdocs = new LinkedList<>();
        for (StepCandidate candidate : collectCandidates(candidateSteps)) {
            stepdocs.add(new Stepdoc(candidate));
        }
        return stepdocs;
    }
public List < Stepdoc > stepdocs ( List < CandidateSteps > candidateSteps ) { List < Stepdoc > stepdocs = new LinkedList < > ( ) ; for ( StepCandidate candidate : collectCandidates ( candidateSteps ) ) { stepdocs . add ( new Stepdoc ( candidate ) ) ; } return stepdocs ; }
Returns the stepdocs for the candidates collected from the given
{@link CandidateSteps}.

@param candidateSteps
the List of CandidateSteps
@return The List of Stepdocs, one for each {@link StepCandidate}.