K - the Registry key typeV - the Registry value typepublic interface Registry<K,V> extends Directory<K,V>
| Modifier and Type | Method and Description |
|---|---|
V |
putdateItem(K key,
V value)
Registers or updates an item in Registry caring not if the item already
exists.
|
void |
putdateItems(Map<K,V> itemMap)
Registers or updates all item in Registry caring not if the items already
exist or not.
|
V |
registerItem(K key,
V value)
Add a single item to the Registry
|
void |
registerItems(Map<K,V> itemMap)
Add a Map
|
V |
removeItem(K key)
Unregister an item from the Registry.
|
void |
removeItems(Set<K> keys)
Unregister a Set of items from the Registry.
|
V |
updateItem(K key,
V value)
Updates the value associated with the key and throws and exception if the
item isn't registered.
|
void |
updateItems(Map<K,V> itemMap) |
V registerItem(K key, V value)
key - the lookup key for the value to addvalue - the value to addvoid registerItems(Map<K,V> itemMap)
itemMap - V removeItem(K key)
key - the lookup key for the value to unregister.void removeItems(Set<K> keys)
keys - the Set of lookup keys to remove.V putdateItem(K key, V value)
key - the lookup key of the value to putdate.value - the value to be used for the putdate.void putdateItems(Map<K,V> itemMap)
itemMap - a Map of keys & values to add.V updateItem(K key, V value)
key - the lookup key of the value to updatevalue - the value used in the updateNoSuchElementException - if no value is associated with the keyCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.