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

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

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

LinkedHashMap.hashCode介绍

暂无

代码示例

代码示例来源:origin: spring-projects/spring-framework

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

代码示例来源:origin: apache/flink

@Override
public int hashCode() {
  int result = type.hashCode();
  result = 31 * result + (kryoRegistrations.hashCode());
  result = 31 * result + (defaultSerializers.hashCode());
  result = 31 * result + (defaultSerializerClasses.hashCode());
  return result;
}

代码示例来源:origin: org.springframework/spring-core

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

代码示例来源:origin: org.codehaus.jackson/jackson-mapper-asl

@Override
public int hashCode()
{
  return (_children == null) ? -1 : _children.hashCode();
}

代码示例来源:origin: btraceio/btrace

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

代码示例来源:origin: org.apache.ant/ant

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

代码示例来源:origin: org.mongodb/mongo-java-driver

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

代码示例来源:origin: swagger-api/swagger-core

@Override
public int hashCode() {
  return Objects.hash(super.hashCode(), extensions);
}

代码示例来源:origin: swagger-api/swagger-core

@Override
public int hashCode() {
  return Objects.hash(extensions, $ref, super.hashCode());
}

代码示例来源:origin: swagger-api/swagger-core

@Override
public int hashCode() {
  return Objects.hash(extensions, super.hashCode());
}

代码示例来源:origin: swagger-api/swagger-core

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

代码示例来源:origin: swagger-api/swagger-core

@Override
public int hashCode() {
  return Objects.hash(extensions, super.hashCode());
}

代码示例来源:origin: swagger-api/swagger-core

@Override
public int hashCode() {
  return Objects.hash(extensions, super.hashCode());
}

代码示例来源:origin: swagger-api/swagger-core

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

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

@Override
public int hashCode() {
  int result = annotationType.hashCode();
  result = 31 * result + values.hashCode();
  for (Map.Entry<Method, ?> entry : values.entrySet()) {
    result = 31 * result + entry.getValue().hashCode();
  }
  return result;
}

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

@Override
public int hashCode() {
  int result = hashCode;
  if (result == 0) {
    result = name.hashCode();
    result = 31 * result + tags.hashCode();
    hashCode = result;
  }
  return result;
}

代码示例来源:origin: apache/flink

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

代码示例来源:origin: spring-projects/spring-data-mongodb

@Override
public int hashCode() {
  int result = 17;
  result += nullSafeHashCode(key);
  result += criteria.hashCode();
  result += nullSafeHashCode(isValue);
  return result;
}

代码示例来源:origin: apache/hive

@Override
public int hashCode() {
 final int prime = 31;
 int result = 1;
 result = result * prime +
   (getInputFileFormatClass() == null ? 0 : getInputFileFormatClass().hashCode());
 result = result * prime +
   (getOutputFileFormatClass() == null ? 0 : getOutputFileFormatClass().hashCode());
 result = result * prime + (getProperties() == null ? 0 : getProperties().hashCode());
 result = result * prime + (getTableDesc() == null ? 0 : getTableDesc().hashCode());
 result = result * prime + (getPartSpec() == null ? 0 : getPartSpec().hashCode());
 result = result * prime +
   (getVectorPartitionDesc() == null ? 0 : getVectorPartitionDesc().hashCode());
 return result;
}

代码示例来源:origin: apache/drill

@Override
public int hashCode() {
 final int prime = 31;
 int result = 1;
 result = result * prime +
   (getInputFileFormatClass() == null ? 0 : getInputFileFormatClass().hashCode());
 result = result * prime +
   (getOutputFileFormatClass() == null ? 0 : getOutputFileFormatClass().hashCode());
 result = result * prime + (getProperties() == null ? 0 : getProperties().hashCode());
 result = result * prime + (getTableDesc() == null ? 0 : getTableDesc().hashCode());
 result = result * prime + (getPartSpec() == null ? 0 : getPartSpec().hashCode());
 result = result * prime +
   (getVectorPartitionDesc() == null ? 0 : getVectorPartitionDesc().hashCode());
 return result;
}

相关文章