The application simply maintains a list of bikes for an operation called RentaBike.
这个应用程序简单地为一个称为RentaBike的操作维护一个自行车清单。
RentaBike is an interface with the types of methods you'd expect to see on a bike store object.
RentaBike是具有您希望在自行车商店对象中看到的各种方法的接口。
There is also a class for displaying a list of bikes, aptly named CommandLineView, which depends on the RentABike type.
还有一个命名为CommandLineView的用于显示自行车列表的类,该类依赖于rentabike类型。
As demonstrated in Listing 4, RentABike defines some simple methods for returning a single Bike or a list of all the Bikes in the store.
正如在清单4中说明的那样,RentABike定义了一些简单的方法,这些方法用来返回商店中单个的Bike或所有Bike的列表。
Configuration Major layers of the application — in the RentaBike application, I expose a Data Access Object (DAO) layer, a controller layer, and a view layer (see Listing 1).
配置应用程序的主要层——在RentaBike应用程序中,我公开了一个数据访问对象(dao)层、一个控制器层和一个视图层(参阅清单1)。
Configuration Major layers of the application — in the RentaBike application, I expose a Data Access Object (DAO) layer, a controller layer, and a view layer (see Listing 1).
配置应用程序的主要层——在RentaBike应用程序中,我公开了一个数据访问对象(dao)层、一个控制器层和一个视图层(参阅清单1)。
应用推荐