Functions that have a variable argument list (...).
具有可变参数列表的函数(…)。
Don't forget to compile with the -source 1.5 option or the compiler won't recognize the variable argument list.
不要忘记用- source 1.5选项编译,否则编译器不会识别变量参数列表。
If a method does not have the proper type, the ANSI-C compiler will not detect the error because the variable argument list and our casting prevent type checks.
如果一个方法没有恰当的类型,因为可变的变元表以及如上的“加工”阻止了类型检查,ANSI - C编译器将不会报错。
Note here that the argc variable (argument count) is implicit, because the length of the argv list is known.
请注意这里的argc变量(参数数量)是隐式的,因为argv列表的长度已经知道。
Because we'd like our Lists to be generic in the type of element they contain, we'd like our static factory method to take an argument of type variable t and return an instance of List.
因为我们希望List成为其所包含的元素类型的泛型,所以希望静态factory方法带有类型变量t这一参数并返回List的实例。
The second call to f will have the variable list containing only 8.333, while a becomes the first argument.
对f的第二次调用的可变列表只包含 8.333,而a变成第一个参数。
Line 4 sets the variable was to the value of the next item in the argument list.
第4行将变量was设置为参数表中下一项的值。
Takes no argument. Returns the environment variable PATH (or the local platform's equivalent) as a list.
不接受参数。返回路径环境变量(或本地平台)作为一个列表。
To set the default property value, use the variable name, with an argument list, on the left side of an assignment statement.
若要设置默认属性值,请在赋值语句左侧使用带有参数列表的变量名。
Supply the array variable at the corresponding place in the argument list.
在引数清单中的对应位置提供阵列变数。
The underscore variable is set at shell startup and contains the absolute file name of the shell or script being executed as passed in the argument list.
$_下划线变量在shell启动时设置,包含shell的绝对文件名或者作为参数列表被执行的脚本。
The filename, if specified, is always the first argument in the argument list, provided that this argument is a variable name.
如果详细说明,一般情况下文件名都是变元表里的第一个内容提要,说明这个内容是一个变量名。
The filename, if specified, is always the first argument in the argument list, provided that this argument is a variable name.
如果详细说明,一般情况下文件名都是变元表里的第一个内容提要,说明这个内容是一个变量名。
应用推荐