Rendering these items on the Web page as links will yield an easier and faster solution for the user, who can simply click the desired option instead of manually entering a value.
对于用户来说,在 Web 页面上呈现这些项目是一个简单快捷的方案,用户只需点击所需的选项即可,无需手动输入一个值。
The solution here is to provide a method parameter with a factory method for the items to read, as shown in Listing 2.
这里的解决方案是为要读取的条目提供一个带工厂方法的方法参数,如清单2所示。
This solution is generally only relevant if "latest data" consists of relatively discrete items of data, not as much if the entire data set is interdependent.
通常,这种解决方案只适用于 “最新数据” 由相对离散的数据项构成的情况,而不适合用于整个数据集互相依赖的情况。
应用推荐