Interface IConvertibleMap<V>
-
- Type Parameters:
V- Type of the values associated with the keys.
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultConvertibleMap,TypePartsConverter.TypeConvertibleMap
public interface IConvertibleMap<V> extends Serializable
Map like interface for theIComponentValueConverter. The default implementation is a hash map (DefaultConvertibleMap). Represents the values which the individual children ofConvertibleComponentcan access. Implementation may useObjectas the type parameter, and provide additional getters/setters with more specific types. This is useful for components such asCalendarthat attempt to read the expected bean property type via reflection.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Vget(Object key)Vput(String key, V value)
-
-
-
Method Detail
-
put
V put(String key, V value)
- Parameters:
key- Key for which to set the value.value- Value to associate with the key.- Returns:
- The value previously associated with the key, or
nullif no value was associated yet.
-
get
V get(Object key)
- Parameters:
key- Key for which to retrieve the value.- Returns:
- The value associated with the key,
nullif no value exists.
-
clear
void clear()
-
-