Enum. enum 的用法跟在Java 的時候其實大同小異. 舉例來說,我原本有個Java Enum ... b : PaymentRtnCode.values()) { if (b.code.equals(code)) { return b.name; } ...
確定! 回上一頁