var result = mySet.findCommand('command1');

print(result!.getName());