public class KeyMap extends Object
applyKeys
method will obtain the
list of keys that apply to the given metadata type and apply the keys
one-by-one to the metadata.Constructor and Description |
---|
KeyMap() |
Modifier and Type | Method and Description |
---|---|
void |
addKey(Key key)
Adds the given key to the map.
|
void |
applyKeys(Metadata metadata)
Applies all keys that are applicable to the given metadata.
|
void |
clear()
Clears this map.
|
Set<Map.Entry<Metadata.MetadataType,List<Key>>> |
entrySet()
Retrieves the set of entries contained in this map.
|
public void addKey(Key key)
key
- the key to be added.public void applyKeys(Metadata metadata)
metadata
- the target metadata.public void clear()
public Set<Map.Entry<Metadata.MetadataType,List<Key>>> entrySet()
Copyright © 2015. All rights reserved.