You can use a static Map<Integer,TestEnum> with a static initializer that populates it with the TestEnum values keyed by their number fields ...
確定! 回上一頁