4,是不是得实现一个或者多个泛型接口(generic interfaces).例如:如果你正在设计一个类,它会被用来创建items,而且这些item的类型不定,那么你就有必要去实现一个ICompareable 基于26个网页-相关网页
gid - generic interface definition 通用接口定义
generic interface list 类属接口列表
generic connector interface 通过通用的连接器接口
Generic card interface 通用卡接口
generic test interface 通用测试接口
generic user interface 通用的用户界面
This second driver provides the generic interface for drawing in video mode.
这个第二层驱动程序提供了视频模式中绘图的常规接口。
In Figure 1 you see an example of aggregating system-specific interfaces into a generic interface.
图1中提供了系统特定的接口聚合为通用接口的示例。
A wrapper class hides the calls to the low-level Win32 functions and provides a comfortable generic interface.
包装类隐藏了对底层Win32函数的调用并提供了一种舒适的通用接口。
The reason I say that is, by having operator overloading I can use 1 generic interface to all of the objects that I want to use.
他在大多数情况下都是对的,我要这么说的原因是,通过运算符重载我可以,用一个通用的借口对。
应用推荐