随笔-35  评论-97  文章-0  trackbacks-0

那天看了《Hardcore Java》,对“To assert or not to assert” 中一句话理解的不是很透,书中也没有详细的解释和举例。

“Use assertions to check preconditions and postconditions on parameters of protected and private access methos.”

这句话,主要是对 preconditions and postconditions on parameters 不是很明白。

谁能帮忙翻译一下,或者举个例子解释一下吗?谢谢!

posted on 2007-05-19 08:29 三告习习 阅读(452) 评论(2)  编辑  收藏 所属分类: Questions?

评论:
# re: 【英译汉】谁能帮帮忙翻译一句英文吗 2007-05-19 11:39 | Dong
大概是说使用assertions核查操作前和操作后受保护的参数和私有的方法。  回复  更多评论
  
# re: 【英译汉】谁能帮帮忙翻译一句英文吗 2007-10-02 23:05 | 郭妮
I am suffered by you arrogant which collapses completely.
  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: