The equivalent code using the RegexpPlugin is similar.
使用RegexpPlugin时的等同代码是相似的。
Listing 2 shows the equivalent code that will be generated for the firstName field.
清单2展示了为firstName字段生成的访问器代码。
For example, Listing 2 shows the equivalent code to Listing 1, as I've seen it used in many recent consulting gigs.
比如,清单2中的代码和清单1是等价的,最近我发现很多咨询建议中使用这类代码。
应用推荐