Java data class. Iterator на схеме java collection framework. hashset. hashset containsall. basic collection interfaces.