public void combine(SimpleDictionary<V> other)
    {
        if (other.trie == null)
        {
            logger.warning("有个词典还没加载");
            return;
        }
        for (Map.Entry<String, V> entry : other.trie.entrySet())
        {
            if (trie.containsKey(entry.getKey())) continue;
            trie.put(entry.getKey(), entry.getValue());
        }
    }
public void combine ( SimpleDictionary < V > other ) { if ( other . trie == null ) { logger . warning ( "有个词典还没加载" ) ; return ; } for ( Map . Entry < String , V > entry : other . trie . entrySet ( ) ) { if ( trie . containsKey ( entry . getKey ( ) ) ) continue ; trie . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } }
以我为主词典，合并一个副词典，我有的词条不会被副词典覆盖
@param other 副词典