/** * Return the collection of cross reference {@link org.eclipse.emf.ecore.EStructuralFeature.Setting settings} * for the specified key (target object). * @param key the key for the cross referencer's map. * @return the collection of settings. */ protected Collection<EStructuralFeature.Setting> getCollection(Object key) { Collection<EStructuralFeature.Setting> result = get(key); if (result == null) { put((EObject)key, result = newCollection()); } return result; }
/** * Return the collection of cross reference {@link org.eclipse.emf.ecore.EStructuralFeature.Setting settings} * for the specified key (target object). * @param key the key for the cross referencer's map. * @return the collection of settings. */ protected Collection<EStructuralFeature.Setting> getCollection(Object key) { Collection<EStructuralFeature.Setting> result = get(key); if (result == null) { put((EObject)key, result = newCollection()); } return result; }