java.util.concurrent.ConcurrentHashMap.hashCode()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(5.5k)|赞(0)|评价(0)|浏览(152)

本文整理了Java中java.util.concurrent.ConcurrentHashMap.hashCode()方法的一些代码示例,展示了ConcurrentHashMap.hashCode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ConcurrentHashMap.hashCode()方法的具体详情如下:
包路径:java.util.concurrent.ConcurrentHashMap
类名称:ConcurrentHashMap
方法名:hashCode

ConcurrentHashMap.hashCode介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-dubbo

@Override
public int hashCode() {
  return delegateMap.hashCode();
}

代码示例来源:origin: apache/incubator-dubbo

@Override
public int hashCode() {
  return delegateMap.hashCode();
}

代码示例来源:origin: ben-manes/caffeine

@Override
public int hashCode() {
 return data.hashCode();
}

代码示例来源:origin: killme2008/Metamorphosis

@Override
  public int hashCode() {
    return this.brokers.hashCode();
  }
}

代码示例来源:origin: oracle/helidon

@Override
public int hashCode() {
  return super.hashCode();
}

代码示例来源:origin: deeplearning4j/nd4j

@Override
public int hashCode(){
  return map.hashCode();
}

代码示例来源:origin: wildfly/wildfly

@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((className == null) ? 0 : className.hashCode());
  result = prime * result + ((configProperties == null) ? 0 : configProperties.hashCode());
  result = prime * result + ((enabled == null) ? 0 : enabled.hashCode());
  result = prime * result + ((jndiName == null) ? 0 : jndiName.hashCode());
  result = prime * result + ((poolName == null) ? 0 : poolName.hashCode());
  result = prime * result + ((useJavaContext == null) ? 0 : useJavaContext.hashCode());
  return result;
}

代码示例来源:origin: wildfly/wildfly

@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((className == null) ? 0 : className.hashCode());
  result = prime * result + ((configProperties == null) ? 0 : configProperties.hashCode());
  result = prime * result + ((enabled == null) ? 0 : enabled.hashCode());
  result = prime * result + ((jndiName == null) ? 0 : jndiName.hashCode());
  result = prime * result + ((pool == null) ? 0 : pool.hashCode());
  result = prime * result + ((poolName == null) ? 0 : poolName.hashCode());
  result = prime * result + ((recovery == null) ? 0 : recovery.hashCode());
  result = prime * result + ((security == null) ? 0 : security.hashCode());
  result = prime * result + ((timeOut == null) ? 0 : timeOut.hashCode());
  result = prime * result + ((useJavaContext == null) ? 0 : useJavaContext.hashCode());
  result = prime * result + ((useCcm == null) ? 0 : useCcm.hashCode());
  result = prime * result + ((validation == null) ? 0 : validation.hashCode());
  result = prime * result + ((isXa() == null) ? 0 : isXa().hashCode());
  result = prime * result + ((sharable == null) ? 0 : sharable.hashCode());
  result = prime * result + ((enlistment == null) ? 0 : enlistment.hashCode());
  result = prime * result + ((connectable == null) ? 0 : connectable.hashCode());
  result = prime * result + ((tracking == null) ? 0 : tracking.hashCode());
  result = prime * result + ((mcp == null) ? 0 : mcp.hashCode());
  result = prime * result + ((enlistmentTrace == null) ? 0 : enlistmentTrace.hashCode());
  return result;
}

代码示例来源:origin: protostuff/protostuff

.hashCode());
result = prime * result
    + ((concurrentMap == null) ? 0 : concurrentMap.hashCode());

代码示例来源:origin: com.github.ben-manes.caffeine/caffeine

@Override
public int hashCode() {
 return data.hashCode();
}

代码示例来源:origin: protostuff/protostuff

.hashCode());
result = prime

代码示例来源:origin: inspectIT/inspectIT

/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = (prime * result) + ((createdKeysMap == null) ? 0 : createdKeysMap.hashCode());
  result = (prime * result) + (int) (maxCreatedKey ^ (maxCreatedKey >>> 32));
  result = (prime * result) + (int) (minCreatedKey ^ (minCreatedKey >>> 32));
  return result;
}

代码示例来源:origin: basho/riak-java-client

@Override
public int hashCode()
{
  return indexes.hashCode();
}

代码示例来源:origin: org.apache.mina/mina-core

/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
  return delegate.hashCode();
}

代码示例来源:origin: com.ebay.jetstream/jetstreamcore

@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime
      * result
      + ((m_topicAffinityRegistry == null) ? 0
          : m_topicAffinityRegistry.hashCode());
  return result;
}

代码示例来源:origin: org.apache.cxf/cxf-core

@Override
public int hashCode() {     //NOPMD
  return super.hashCode();
}

代码示例来源:origin: inspectIT/inspectIT

/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = (prime * result) + ((branchIndexer == null) ? 0 : branchIndexer.hashCode());
  result = (prime * result) + ((map == null) ? 0 : map.hashCode());
  return result;
}

代码示例来源:origin: org.jboss.as/jboss-as-connector

@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((className == null) ? 0 : className.hashCode());
  result = prime * result + ((configProperties == null) ? 0 : configProperties.hashCode());
  result = prime * result + ((enabled == null) ? 0 : enabled.hashCode());
  result = prime * result + ((jndiName == null) ? 0 : jndiName.hashCode());
  result = prime * result + ((poolName == null) ? 0 : poolName.hashCode());
  result = prime * result + ((useJavaContext == null) ? 0 : useJavaContext.hashCode());
  return result;
}

代码示例来源:origin: com.sun.faces/jsf-impl

@Override
public int hashCode() {
  int hash = 3;
  hash = 59 * hash + (this.id != null ? this.id.hashCode() : 0);
  hash = 59 * hash + (this.startNodeId != null ? this.startNodeId.hashCode() : 0);
  hash = 59 * hash + (this._views != null ? this._views.hashCode() : 0);
  hash = 59 * hash + (this._returns != null ? this._returns.hashCode() : 0);
  hash = 59 * hash + (this.initializer != null ? this.initializer.hashCode() : 0);
  hash = 59 * hash + (this.finalizer != null ? this.finalizer.hashCode() : 0);
  return hash;
}

代码示例来源:origin: eclipse-ee4j/mojarra

@Override
public int hashCode() {
  int hash = 3;
  hash = 59 * hash + (this.id != null ? this.id.hashCode() : 0);
  hash = 59 * hash + (this.startNodeId != null ? this.startNodeId.hashCode() : 0);
  hash = 59 * hash + (this._views != null ? this._views.hashCode() : 0);
  hash = 59 * hash + (this._returns != null ? this._returns.hashCode() : 0);
  hash = 59 * hash + (this.initializer != null ? this.initializer.hashCode() : 0);
  hash = 59 * hash + (this.finalizer != null ? this.finalizer.hashCode() : 0);
  return hash;
}

相关文章