Any reason you didn't use a `Set`? And then maybe `Collections.unmodifiableSet`?