藍色玉米月亮
14 years ago
常看到 open source 程式中用到 populate 這個字。這個英文字在程式語言中通常代表怎樣的涵義呢?
latest #6
藍色玉米月亮
14 years ago
假設 struts2 Action 中有兩個 setter,理論上其中一個的值會影響另一個。但我們無法控制 setter 的順序。
藍色玉米月亮
14 years ago
所以在 execute 之前要執行一個動作來先產生正確的值。這個 method 叫 populate 適當嗎?
藍色玉米月亮
14 years ago
感謝宗師!
立即下載
back to top