Alexandr Druzhinin: > I just thought that there was some better way to check if all > elements of Foo were included into mymap than just brutal force > iteration through all Foo elements. There are many ways, like (untested): AA.keys.sort().equals([EnumMembers!MyEnum].sort()) Bye, bearophile