@Override
    public Converter getConverter(Class<?> from, Class<?> to) {
        Map<Class<?>, Converter> toMap = fromMap.get(from);
        if (toMap != null) {
            return toMap.get(to);
        } else {
            return null;
        }
    }
@ Override public Converter getConverter ( Class < ? > from , Class < ? > to ) { Map < Class < ? > , Converter > toMap = fromMap . get ( from ) ; if ( toMap != null ) { return toMap . get ( to ) ; } else { return null ; } }
Get the desired converter.

@param from
@param to
@return