Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
txtFar.setText(result.getProperty(0).toString());
一般来说 ,谁能告诉我上面的行在说什么。 离开对象 txtFar & 结果。
任何的想法?
感谢您宝贵的时间!
它正在获取result 的第 0 个属性,并通过将属性转换为String将其设置为txtFar。
你期待别的东西吗?
此行的 OP 可以解释为:
txtFar variable which is a text field is set to 0th property of result by converting into String.
基本上,这个文本字段被分配了一个字符串值。