看板 Translate-CS 關於我們 聯絡資訊
※ 引述《PsMonkey (痞子軍團團長)》之銘言: : [JavaDoc 中有一個非常奇怪的事情][quirk in JavaDoc]: : 回傳的 collection 並沒有原本 collection 的 `hashCode()` 跟 `equals()`, : 而是使用 `Object` 的 method。 這句的原文是: The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object’s equals and hashCode methods 我對那個 pass XXX throught to OOO 完全不知道怎麼翻譯 只好用實際意義亂翻 [死] : 當原本的 collection 是 set 或 list 時, : 就需要 preserve the contract of these operation(譯註:翻譯不能 Orz)。 preserve the contract of operations 也卡住 理論上 preserve the contract 應該不是什麼專有名詞 但是用字面上翻譯也很... 彆扭 Orz 還請高手開示...... Orz -- 錢鍾書: 說出來的話 http://www.psmonkey.org 比不上不說出來的話 Java 版 cookcomic 版 只影射著說不出來的話 and more...... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.25.13.90