本文整理了Java中com.squareup.javapoet.ClassName.hashCode()
方法的一些代码示例,展示了ClassName.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ClassName.hashCode()
方法的具体详情如下:
包路径:com.squareup.javapoet.ClassName
类名称:ClassName
方法名:hashCode
暂无
代码示例来源:origin: square/wire
@Override public int hashCode() {
return className.hashCode() * 37 + memberName.hashCode();
}
}
代码示例来源:origin: br.com.objectos/pojo-plugin
@Override
public int hashCode() {
return superClass.hashCode();
}
代码示例来源:origin: br.com.objectos.way/pojo-plugin
@Override
public int hashCode() {
return superClass.hashCode();
}
代码示例来源:origin: br.com.objectos.pojo/plugin
@Override
public int hashCode() {
return superClass.hashCode();
}
代码示例来源:origin: ppdai-incubator/raptor
@Override public int hashCode() {
return className.hashCode() * 37 + memberName.hashCode();
}
}
代码示例来源:origin: MRezaNasirloo/Slick
@Override
public int hashCode() {
int result = className.hashCode();
result = 31 * result + args.hashCode();
result = 31 * result + typeParameters.hashCode();
return result;
}
}
代码示例来源:origin: com.google.dagger/dagger-android-processor
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= injectedType.hashCode();
h$ *= 1000003;
h$ ^= scopes.hashCode();
h$ *= 1000003;
h$ ^= modules.hashCode();
h$ *= 1000003;
h$ ^= enclosingModule.hashCode();
h$ *= 1000003;
h$ ^= method.hashCode();
return h$;
}
代码示例来源:origin: com.google.dagger/dagger-compiler
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.spec.hashCode();
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= this.providedRequirements.hashCode();
h *= 1000003;
h ^= this.fields.hashCode();
return h;
}
内容来源于网络,如有侵权,请联系作者删除!