这种invoke方法使用两个参数,为调用提供类实例和参数值数组。
This invoke method takes two arguments, which supply the class instance and an array of parameter values for the call.
Rhino中的数组可以表示为放在方括号中的一串使用逗号分隔的数值列表。
The array in Rhino can be represented as a comma-separated list of values between square brackets. Thus, the following are arrays in Rhino.
Ruby散列表(或关联数组)是一种数据结构,允许您定义用于存储的键(而不是简单的数值索引)。
A Ruby hash (or associative array) is a data structure that allows you to define the key for storage (instead of a simple numerical index).
应用推荐