groovy - Hows the syntax to getProperty dynamically? -


क्या यह संभव है और यदि, कैसे?

  item.foo = "moo" def X = "foo" आइटम। [X] = "moo"  

मैं हूं सुनिश्चित नहीं है कि मुझे आपका प्रश्न मिल गया है, लेकिन ...

  def आइटम = {def foo} def x = "foo" आइटम [x] = "मू" मद पर जोर [x] == " Moo "item.foo ==" म्यू "पर जोर दें  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -