Package com.brightcove.player.store
Class MapConverter<K extends java.io.Serializable,V extends java.io.Serializable>
- java.lang.Object
-
- com.brightcove.player.store.MapConverter<K,V>
-
- All Implemented Interfaces:
io.requery.Converter<java.util.Map<K,V>,java.lang.String>
public class MapConverter<K extends java.io.Serializable,V extends java.io.Serializable> extends java.lang.Object implements io.requery.Converter<java.util.Map<K,V>,java.lang.String>
Provides aConverter
that can be used persist and readMap
objects.
-
-
Constructor Summary
Constructors Constructor Description MapConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<K,V>
convertToMapped(java.lang.Class<? extends java.util.Map<K,V>> type, java.lang.String value)
java.lang.String
convertToPersisted(java.util.Map<K,V> value)
java.lang.Class<java.util.Map<K,V>>
getMappedType()
java.lang.Integer
getPersistedSize()
java.lang.Class<java.lang.String>
getPersistedType()
-
-
-
Method Detail
-
getPersistedType
public java.lang.Class<java.lang.String> getPersistedType()
-
getPersistedSize
public java.lang.Integer getPersistedSize()
-
-