public static StringDistance [ ] buildArray ( String classNames ) { String classNamesArray [ ] = split ( classNames ) ; StringDistance learners [ ] = new StringDistance [ classNamesArray . length ] ; for ( int i = 0 ; i < classNamesArray . length ; i ++ ) { learners [ i ] = build ( classNamesArray [ i ] ) . getDistance ( ) ; } return learners ; }
Generate a StringDistanceArray given a sequence of classnames separated by slashes .