public class EnumUtil extends Object
This util class is useful to find enum from an identifier. For example,
EnumUtil.find(PageType.class, 3).
For hot code, the performance might be a problem, especially for cases when null is returned.
Copyright © 2019–2020 Alibaba Group Holding Limited. All rights reserved.