本文整理了Java中java.util.LinkedHashSet.hashCode()
方法的一些代码示例,展示了LinkedHashSet.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LinkedHashSet.hashCode()
方法的具体详情如下:
包路径:java.util.LinkedHashSet
类名称:LinkedHashSet
方法名:hashCode
暂无
代码示例来源:origin: gocd/gocd
public int hashCode() {
return (matchers != null ? matchers.hashCode() : 0);
}
代码示例来源:origin: protostuff/protostuff
.hashCode());
result = prime * result
+ ((linkedHashSet == null) ? 0 : linkedHashSet.hashCode());
result = prime * result
+ ((linkedList == null) ? 0 : linkedList.hashCode());
代码示例来源:origin: forcedotcom/phoenix
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + (containsNull ? 1231 : 1237);
result = prime * result + values.hashCode();
return result;
}
代码示例来源:origin: jamesagnew/hapi-fhir
@Override
public int hashCode() {
return myTagSet.hashCode();
}
代码示例来源:origin: geotools/geotools
/** Returns the hash code value for this set. */
@Override
public int hashCode() {
synchronized (getLock()) {
return super.hashCode();
}
}
代码示例来源:origin: com.oracle.bedrock/bedrock-runtime
@Override
public int hashCode()
{
return freeforms != null ? freeforms.hashCode() : 0;
}
}
代码示例来源:origin: uk.co.webamoeba.mockito.collections/mockito-collections-core
@Override
public int hashCode() {
return 31 * 1 + ((set == null) ? 0 : set.hashCode());
}
}
代码示例来源:origin: de.unijena.bioinf.phylo/mincut
@Override
public int hashCode() {
if (!hashCached) {
int result = (int) (minCutValue ^ (minCutValue >>> 32));
hashCache = 31 * result + cutSet.hashCode() + tSet.hashCode();
hashCached = true;
}
return hashCache;
}
}
代码示例来源:origin: jclouds/legacy-jclouds
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((token == null) ? 0 : token.hashCode());
return result;
}
代码示例来源:origin: jclouds/legacy-jclouds
/**
* {@inheritDoc}
*/
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((marker == null) ? 0 : marker.hashCode());
return result;
}
代码示例来源:origin: org.apache.jclouds.api/atmos
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((token == null) ? 0 : token.hashCode());
return result;
}
代码示例来源:origin: Nextdoor/bender
/**
* {@inheritDoc}
*/
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((marker == null) ? 0 : marker.hashCode());
return result;
}
代码示例来源:origin: org.jclouds/jclouds-blobstore
/**
* {@inheritDoc}
*/
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((marker == null) ? 0 : marker.hashCode());
return result;
}
代码示例来源:origin: intermine/intermine
/**
* Get the hashCode for this object overrides Object.hashCode().
*
* @return the hashCode
*/
@Override
public int hashCode() {
return constraints.hashCode() + 3 * op.hashCode();
}
代码示例来源:origin: com.amysta.jclouds/jclouds-blobstore
/**
* {@inheritDoc}
*/
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((marker == null) ? 0 : marker.hashCode());
return result;
}
代码示例来源:origin: io.cloudsoft.jclouds/jclouds-blobstore
/**
* {@inheritDoc}
*/
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((marker == null) ? 0 : marker.hashCode());
return result;
}
代码示例来源:origin: org.intermine/intermine-objectstore
/**
* Get the hashCode for this object overrides Object.hashCode().
*
* @return the hashCode
*/
@Override
public int hashCode() {
return constraints.hashCode() + 3 * op.hashCode();
}
代码示例来源:origin: jpox/jpox
/**
* Hashcode operator.
* @return The Hash code.
**/
public synchronized int hashCode()
{
if (useCache)
{
loadFromStore();
}
return delegate.hashCode();
}
代码示例来源:origin: org.geotools/gt-metadata
/**
* Returns the hash code value for this set.
*/
@Override
public int hashCode() {
synchronized (getLock()) {
return super.hashCode();
}
}
代码示例来源:origin: com.fitbur.external/external-bytebuddy
@Override
public int hashCode() {
int result = key.hashCode();
result = 31 * result + methodDescriptions.hashCode();
return result;
}
内容来源于网络,如有侵权,请联系作者删除!