美文网首页
what is the difference between r

what is the difference between r

作者: Megamind_China | 来源:发表于2016-10-12 10:38 被阅读26次

    On the implmentation level a provided interface is the interface implemented by a class (in the most common sense, e.g. a class B implements the interface I). Required interface would be any use of an interface by a component (e.g. if a class A defines a method that has the interface I as a parameter, this means that class A has a required interface I).

    required属于A的变量
    provided属于A实现的接口
    required也用在方法的参数里

    学习UML资料
    链接

    相关文章

      网友评论

          本文标题:what is the difference between r

          本文链接:https://www.haomeiwen.com/subject/jthiyttx.html