作者: SUNJ 本节中所描述的多态算法 (polymorphic algorithms)是由 JDK 所提供的可重复使用的功能性片段。它们均取自Collections类,并都采用静态方法(它的第一个参数是执行操作的 对象集.
基于44个网页-相关网页
纯粹的面向对象的策略模式主要依赖于基于继承的多态来创建根据环境交换的可互换算法系列。
The purely object-oriented strategy pattern primarily relies on inheritance-based polymorphism to create a family of interchangeable algorithms that are swapped out based on context.
这是一种典型的多态行为—提供相同行为的不同实现(不同的xml解析算法)。
This is classic polymorphic behavior - different implementations (different XML parsing algorithms) that provide the same behavior.
ooRexx 完全支持多态性、继承性和重要的库(例如 TCP/IP 和算法)等面向对象的方面,从而使 Rexx 程序可以满足较为复杂的要求。
ooRexx fully supports such aspects of object orientation as polymorphism, inheritance, and important libraries, such as TCP/IP and mathematics, so that Rexx programs can solve complex requirements.
应用推荐