lib/distributedtrie/trie.rb
# kvsif ... Please implement like DistributedTrie::KvsIF class and specify instance of it.
kvsif ... Please implement like DistributedTrie::KvsIF class and specify instance of it.
kvsif ... Please implement like DistributedTrie :: KvsIF class and specify instance of it .
def commit!()
      @key_hash.each_key { |key|
        cur = @kvsif.get( @prefixString + key, "" )
        @kvsif.put!( @prefixString + key, _mergeIndex( cur + " " + @key_hash[ key ] ))
      }
      @key_hash    = Hash.new
    end
def commit! ( ) @key_hash . each_key { | key | cur = @kvsif . get ( @prefixString + key , "" ) @kvsif . put! ( @prefixString + key , _mergeIndex ( cur + " " + @key_hash [ key ] ) ) } @key_hash = Hash . new end
kvsif ...
kvsif ...