- lists = new THashMap<L, List<R>>();
- }
-
- @SuppressWarnings("unchecked")
- public MapList( Class<?> mapClass ) {
- try {
- lists = (Map<L, List<R>>) mapClass.newInstance();
- } catch (InstantiationException e) {
- throw new RuntimeException( e );
- } catch (IllegalAccessException e) {
- throw new RuntimeException( e );
- }