接口关键字 interface keyword
- 使配置成为具有一致接口的对象而不是通常的关键字的DIY随机散列。
Making the configuration an object with a consistent interface instead of the usual DIY haphazard hash of keywords. - 端口通过provides和requires关键字进行定义,紧接着是端口的名称和下标,一个冒号以及与端口相关联的接口。
Ports are defined with the provides and requires keywords, followed by the port name and cardinality, a colon, and the port's associated interface. - 为了确保实现是线程安全的,实现该接口的类应该在方法上使用synchronized关键字,或者在方法内部使用同步锁。
To ensure that your implementation is thread-safe, a class that implements this interface should use either the synchronized keyword on the methods or synchronized blocks within the methods.
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......