public static TableModel [ ] entity2EditableModels ( Class < ? > ... entityClasses ) { List < TableModel > l = new ArrayList < TableModel > ( ) ; for ( Class < ? > clazz : entityClasses ) { l . add ( entity2EditableModel ( clazz ) ) ; } return l . toArray ( new TableModel [ l . size ( ) ] ) ; }
Convert entity classes to a editable TableModel instances