阅读背景:

常规枚举的标志枚举和哈希集

来源:互联网 

Are there compelling reasons to use a Flags enum (i.e., a bitmask) over a HashSet of regular enums? As far as I can tell, both solve the same problem:Are there compelling reasons to use a Flags enu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: