EnumSet is more efficient than HashSet