private static Map mapifySerializations ( List sers ) { Map rtn = new HashMap ( ) ; if ( sers != null ) { int size = sers . size ( ) ; for ( int i = 0 ; i < size ; i ++ ) { if ( sers . get ( i ) instanceof Map ) { rtn . putAll ( ( Map ) sers . get ( i ) ) ; } else { rtn . put ( sers . get ( i ) , null ) ; } } } return rtn ; }
add custom KRYO serialization