hash fetch

hash[key] 当key值不存在时,返回nil

hash.fetch(key) 当key值不存在时,抛出异常。

posted on 2014-04-11 13:00  qinyan20  阅读(118)  评论(0编辑  收藏  举报