相反 地,呼叫端現在享有保證未經檢查而解除參照方法結果沒有問題。 ... class LegacyClass { String enhance (String in) { // 不強制用戶端傳遞非空值。 return in.
確定! 回上一頁