本文整理了Java中org.eclipse.osgi.service.resolver.State.compare()
方法的一些代码示例,展示了State.compare()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。State.compare()
方法的具体详情如下:
包路径:org.eclipse.osgi.service.resolver.State
类名称:State
方法名:compare
[英]Returns a delta describing the differences between this state and the given state. The given state is taken as the base so the absence of a bundle in this state is reported as a deletion, etc.
Note that the generated StateDelta will contain BundleDeltas with one of the following types: BundleDelta.ADDED, BundleDelta.REMOVED and BundleDelta.UPDATED
[中]返回描述此状态与给定状态之间差异的增量。给定的状态被视为基础,因此在这种状态下缺少bundle将被报告为删除,等等。
请注意,生成的StateDelta将包含以下类型之一的BundleDelta:BundleDelta。补充:BundleDelta。拆下并捆绑在一起。更新
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi
public StateDelta compare(State state) throws BundleException {
return target.compare(state);
}
代码示例来源:origin: org.eclipse/org.eclipse.osgi
public StateDelta compare(State state) throws BundleException {
return target.compare(state);
}
代码示例来源:origin: com.github.veithen.cosmos.bootstrap/org.eclipse.osgi.compatibility.state
public StateDelta compare(State state) throws BundleException {
return platformAdmin.getSystemState().compare(state);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi.compatibility.state
public StateDelta compare(State state) throws BundleException {
return platformAdmin.getSystemState().compare(state);
}
内容来源于网络,如有侵权,请联系作者删除!