本文整理了Java中org.jgroups.util.Util.assertNotNull()
方法的一些代码示例,展示了Util.assertNotNull()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.assertNotNull()
方法的具体详情如下:
包路径:org.jgroups.util.Util
类名称:Util
方法名:assertNotNull
暂无
代码示例来源:origin: wildfly/wildfly
public static void assertNotNull(Object val) {
assertNotNull(null, val);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public static void assertNotNull(Object val) {
assertNotNull(null, val);
}
代码示例来源:origin: org.dashbuilder/dashbuilder-dataset-editor
verify(editWorkflow, times(1)).edit(any(SQLDataSetDef.class), dataCaptor.capture());
List<DataColumnDef> columnsCaptured = dataCaptor.getValue();
assertNotNull(columnsCaptured);
assertEquals(2, columnsCaptured.size());
assertEquals("col1", columnsCaptured.get(0).getId());
代码示例来源:origin: kiegroup/appformer
verify(editWorkflow, times(1)).edit(any(SQLDataSetDef.class), dataCaptor.capture());
List<DataColumnDef> columnsCaptured = dataCaptor.getValue();
assertNotNull(columnsCaptured);
assertEquals(2, columnsCaptured.size());
assertEquals("col1", columnsCaptured.get(0).getId());
代码示例来源:origin: org.infinispan/infinispan-core
private void checkVersion(Cache<Object, Object> c, MagicKey hello) {
Address address = c.getCacheManager().getAddress();
ConsistentHash readConsistentHash = c.getAdvancedCache().getDistributionManager().getReadConsistentHash();
if (readConsistentHash.isKeyLocalToNode(address, hello)) {
InternalCacheEntry ice = c.getAdvancedCache().getDataContainer().get(hello);
assertNotNull("Entry not found on owner cache " + c, ice);
assertNotNull("Version is null on owner cache " + c, ice.getMetadata().version());
}
}
}
内容来源于网络,如有侵权,请联系作者删除!