Line 2 defines the class with an optional value, which means that the user can provide it or not, and it is denoted with the Type? Pattern.
第2行用一个可选值来定义类,这意味着用户可以提供该类,也可以不提供,这用Type ?
Line 33 - Uses the 'fnmatch' method of 'file' class to check if the file found matches the pattern given.
第33行-使用“File”类中的“fnmatch”方法检查发现的文件是否符合给定的模式。
Line 24 - Uses the 'fnmatch' method of 'file' class to check if the file found matches the pattern given.
第24行-使用“File”类中的“fnmatch”方法检查发现的文件是否符合给定的模式。
The RentalLocation has to obtain this existing information from our on-line Reservation RDBMS, and in Step 6 I have added a new design class, DataAccess, that implements the Façade pattern.
RentalLocation必须从在线的预约RDBMS获得这些已有信息,在第6步我加入一个新的设计类DataAccess,来实现Facade模式。
The RentalLocation has to obtain this existing information from our on-line Reservation RDBMS, and in Step 6 I have added a new design class, DataAccess, that implements the Façade pattern.
RentalLocation必须从在线的预约RDBMS获得这些已有信息,在第6步我加入一个新的设计类DataAccess,来实现Facade模式。
应用推荐