protected AnalysisEngine[] asArray(Collection<AnalysisEngine> aes){
  return aes.toArray(new AnalysisEngine[aes.size()]);
}

protected AnalysisEngine [ ] asArray ( Collection < AnalysisEngine > aes ) { return aes . toArray ( new AnalysisEngine [ aes . size ( ) ] ) ; }
convert list argument to array of analysisengines . helper for use with createanalysisengines ( ) implementations .
