Class MapConverter<K,​V>

  • Type Parameters:
    K - the type of keys maintained by this map
    V - the type of mapped values
    All Implemented Interfaces:
    ej.kf.Converter<java.util.Map<K,​V>>

    public class MapConverter<K,​V>
    extends java.lang.Object
    implements ej.kf.Converter<java.util.Map<K,​V>>
    A Converter for Map. This converter creates a clone of the original Map, and convert is called for keys and values.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<K,​V> convert​(java.util.Map<K,​V> map, ej.kf.Feature targetOwner)  
      java.lang.Class<java.util.Map<K,​V>> getType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapConverter

        public MapConverter()
    • Method Detail

      • getType

        public java.lang.Class<java.util.Map<K,​V>> getType()
        Specified by:
        getType in interface ej.kf.Converter<K>
      • convert

        public java.util.Map<K,​V> convert​(java.util.Map<K,​V> map,
                                                ej.kf.Feature targetOwner)
                                         throws java.lang.IllegalAccessError
        Specified by:
        convert in interface ej.kf.Converter<K>
        Throws:
        java.lang.IllegalAccessError