本文整理了Java中org.guvnor.common.services.shared.metadata.model.Metadata.hashCode()
方法的一些代码示例,展示了Metadata.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Metadata.hashCode()
方法的具体详情如下:
包路径:org.guvnor.common.services.shared.metadata.model.Metadata
类名称:Metadata
方法名:hashCode
暂无
代码示例来源:origin: org.guvnor/guvnor-services-api
@Override
public int hashCode() {
int result = metadata != null ? metadata.hashCode() : 0;
result = ~~result;
result = 31 * result + (projectName != null ? projectName.hashCode() : 0);
result = ~~result;
return result;
}
}
代码示例来源:origin: org.uberfire/uberfire-services-api
@Override
public int hashCode() {
int result = metadata != null ? metadata.hashCode() : 0;
result = ~~result;
result = 31 * result + (projectName != null ? projectName.hashCode() : 0);
result = ~~result;
return result;
}
}
代码示例来源:origin: kiegroup/appformer
@Override
public int hashCode() {
int result = metadata != null ? metadata.hashCode() : 0;
result = ~~result;
result = 31 * result + (projectName != null ? projectName.hashCode() : 0);
result = ~~result;
return result;
}
}
代码示例来源:origin: org.kie.workbench.widgets/kie-wb-metadata-widget
private void resetMetadata(final Overview overview) {
this.metadata = overview.getMetadata();
if (Optional.ofNullable(metadata).isPresent()) {
setMetadataOriginalHash(metadata.hashCode());
}
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-project-editor-api
result = 31 * result + (pathToPOM != null ? pathToPOM.hashCode() : 0);
result = ~~result;
result = 31 * result + (POMMetaData != null ? POMMetaData.hashCode() : 0);
result = ~~result;
result = 31 * result + (KModule != null ? KModule.hashCode() : 0);
result = 31 * result + (pathToKModule != null ? pathToKModule.hashCode() : 0);
result = ~~result;
result = 31 * result + (KModuleMetaData != null ? KModuleMetaData.hashCode() : 0);
result = ~~result;
result = 31 * result + (projectImports != null ? projectImports.hashCode() : 0);
result = 31 * result + (pathToImports != null ? pathToImports.hashCode() : 0);
result = ~~result;
result = 31 * result + (projectImportsMetaData != null ? projectImportsMetaData.hashCode() : 0);
result = ~~result;
result = 31 * result + (projectTagsMetaData != null ? projectTagsMetaData.hashCode() : 0);
result = ~~result;
result = 31 * result + (whiteList != null ? whiteList.hashCode() : 0);
result = 31 * result + (pathToWhiteList != null ? pathToWhiteList.hashCode() : 0);
result = ~~result;
result = 31 * result + (whiteListMetaData != null ? whiteListMetaData.hashCode() : 0);
result = ~~result;
result = 31 * result + (repositories != null ? repositories.hashCode() : 0);
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-default-editor-client
@Override
public void callback(final DefaultEditorContent content) {
resetEditorPages(content.getOverview());
metadata = content.getOverview().getMetadata();
setMetadataOriginalHash(metadata.hashCode());
view.onStartup(versionRecordManager.getCurrentPath());
view.setReadOnly(isReadOnly);
}
};
代码示例来源:origin: org.uberfire/uberfire-services-api
false);
final int originalHashCode = metadata.hashCode();
metadata.setLockInfo(new LockInfo(true,
"admin",
metadata.hashCode());
代码示例来源:origin: org.guvnor/guvnor-services-api
false);
final int originalHashCode = metadata.hashCode();
metadata.setLockInfo(new LockInfo(true,
"admin",
metadata.hashCode());
代码示例来源:origin: kiegroup/appformer
false);
final int originalHashCode = metadata.hashCode();
metadata.setLockInfo(new LockInfo(true,
"admin",
metadata.hashCode());
内容来源于网络,如有侵权,请联系作者删除!