If you cannot change the original API, you can write wrapper code to convert the collection type into an array.
如果您不能改变原始的API,那么您可以书写封装器代码,将聚集类型转化为数组。
In other words, he managed to convert an architectural element into a design element, making it something that wasn't so hard to change later.
换句话说,他设法将一个架构元素转换成了一个设计元素,使得后期更改不至于很难。
In other words, he managed to convert an architectural element into a design element, making it something that wasn't so hard to change later.
换句话说,他设法将一个架构元素转换成了一个设计元素,使得后期更改不至于很难。
应用推荐