C - the component typeK - the key typepublic interface ComponentFactory<K,C extends Component<K>> extends Keyed<K>
Component factories.| Modifier and Type | Method and Description |
|---|---|
C |
create(K key)
Creates the
Component associated with the supplied key. |
default Set<C> |
createAll()
Creates all
Components supported by this factory. |
Set<K> |
getKeys()
Get all keys that are supported by this factory.
|
default boolean |
has(K key)
Checks if this factory supports the supplied
key. |
default boolean has(K key)
key.key - the keydefault Set<C> createAll()
Components supported by this factory.Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.