数组引用 meaning in English
array reference
Examples
- There may be a cost to making defensive copies when passing an array reference to another class , but unless you are sure that the other class either makes its own copy or that it will not hold the reference for longer than the duration of the call , you probably want to make a copy before passing the array
当传递一个数组引用到另一个类时,可能有创建防御副本的代价,除非您能确保其他类要么创建了它自己的副本,要么只在调用期间保存引用,否则您可能需要在传递数组之前创建副本。