...,那就没必要再加上first和last方法了—— first和last的效果用已有接口就能实现,因此它们属于便利方法(convenience methods),不过,推崇最小接口的设计者对便利方法也并非一概避免,只是一个便利方法要想跻身为最小接口的一员需要先跳过一个很高的标杆。
基于8个网页-相关网页
two convenience methods 两种方便的方法 ; 两个方便的方法 ; 两个方便方法
Your database class has a couple of convenience methods.
您的数据库类有两个较为方便的方法。
youdao
Finally, several convenience methods can perform the downcast.
此外还有几种方便的方法可用于向下类型转换。
The Logger class provides a large set of convenience methods for generating log messages.
Logger类定义了众多产生日志信息的便捷方法。
应用推荐
模块上移
模块下移
不移动