@Test public void testEmpty() { boolean empty = tested.isEmpty(); assertTrue(empty); }
@Override public boolean isEmpty() { return definitionFactories.isEmpty() && graphFactories.isEmpty(); }
FactoryRegistryImpl implements TypeFactoryRegistry<T> { @Override public boolean isEmpty() { return definitionFactories.isEmpty() && graphFactories.isEmpty(); } }
FactoryRegistryImpl implements TypeFactoryRegistry<T> { @Override public boolean isEmpty() { return definitionFactories.isEmpty() && graphFactories.isEmpty(); } FactoryRegistryImpl(final AdapterManager adapterManager); }
FactoryRegistryImpl implements TypeFactoryRegistry<T> { @Override public boolean isEmpty() { return definitionFactories.isEmpty() && graphFactories.isEmpty(); } FactoryRegistryImpl(final AdapterManager adapterManager); @Override DefinitionFactory<?> getDefinitionFactory(final String id); @Override ElementFactory<?, ?, ?> getElementFactory(final Class<? extends ElementFactory> type); @Override @SuppressWarnings("unchecked") DiagramFactory<?, ?> getDiagramFactory(final String defSetId,
                                                  final Class<? extends Metadata> metadataType); @Override @SuppressWarnings("unchecked") void register(final T item); @Override boolean remove(final T item); @Override void clear(); @Override boolean contains(final T item); @Override boolean isEmpty(); @Override @SuppressWarnings("unchecked") Collection<T> getAllFactories(); @Override DefinitionFactory<?> getDefinitionFactory(final Class<?> type); }
FactoryRegistryImpl implements TypeFactoryRegistry<T> { @Override public boolean isEmpty() { return definitionFactories.isEmpty() && graphFactories.isEmpty(); } FactoryRegistryImpl(final AdapterManager adapterManager); @Override DefinitionFactory<?> getDefinitionFactory(final String id); @Override ElementFactory<?, ?, ?> getElementFactory(final Class<? extends ElementFactory> type); @Override @SuppressWarnings("unchecked") DiagramFactory<?, ?> getDiagramFactory(final String defSetId,
                                                  final Class<? extends Metadata> metadataType); @Override @SuppressWarnings("unchecked") void register(final T item); @Override boolean remove(final T item); @Override void clear(); @Override boolean contains(final T item); @Override boolean isEmpty(); @Override @SuppressWarnings("unchecked") Collection<T> getAllFactories(); @Override DefinitionFactory<?> getDefinitionFactory(final Class<?> type);  }