private List<MatchingDocs> createSampledDocs(List<MatchingDocs> matchingDocsList){
  List<MatchingDocs> sampledDocsList=new ArrayList<>(matchingDocsList.size());
  for (  MatchingDocs docs : matchingDocsList) {
    sampledDocsList.add(createSample(docs));
  }
  return sampledDocsList;
}

private List < MatchingDocs > createSampledDocs ( List < MatchingDocs > matchingDocsList ) { List < MatchingDocs > sampledDocsList = new ArrayList < > ( matchingDocsList . size ( ) ) ; for ( MatchingDocs docs : matchingDocsList ) { sampledDocsList . add ( createSample ( docs ) ) ; } return sampledDocsList ; }
create a sampled copy of the matching documents list .
