我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
The data we store in each menu item object is an array containing only one element: the name of the category.
同样,您可以看到一个对象引用另一个对象(它仅包含我正在查找的对象的一个向量)的编程方式的模式。
Again, you can see the programmatic pattern of one object referencing another object that simply contains a vector of the object (s) I am really looking for.
本例中我们仅得到一个可搜索对象。
In this case we are only obtaining a single searchable object.
应用推荐