将类数组对象转换为数组对象。
当对当前类启用跟踪时,清单7就创建了这些对象和数组。
Listing 7 creates these objects and arrays when trace is enabled for the current class.
它创建一个JSON对象数组,并将每个对象传递到story类的构造器中(如清单6所示)。
It creates an array of JSON objects and passes each object into the constructor of the Story class (shown in Listing 6).
应用推荐