本文整理了Java中com.google.common.collect.Range.hashCode
方法的一些代码示例,展示了Range.hashCode
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Range.hashCode
方法的具体详情如下:
包路径:com.google.common.collect.Range
类名称:Range
方法名:hashCode
[英]Returns a hash code for this range.
[中]返回此范围的哈希代码。
代码示例来源:origin: google/error-prone
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.range.hashCode();
h *= 1000003;
h ^= this.replaceWith.hashCode();
return h;
}
代码示例来源:origin: com.netflix.falcor/falcor-model
@Override
public int hashCode() {
return value.hashCode();
}
}
代码示例来源:origin: SmartDataAnalytics/jena-sparql-api
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result
+ ((innerItemRange == null) ? 0 : innerItemRange.hashCode());
result = prime * result
+ ((outerItemRange == null) ? 0 : outerItemRange.hashCode());
return result;
}
代码示例来源:origin: com.google.errorprone/error_prone_check_api
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.range.hashCode();
h *= 1000003;
h ^= this.replaceWith.hashCode();
return h;
}
代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((model == null) ? 0 : model.hashCode());
result = prime * result + ((screenAnchor == null) ? 0 : screenAnchor.hashCode());
result = prime * result + ((screenBounds == null) ? 0 : screenBounds.hashCode());
result = prime * result + ((textRange == null) ? 0 : textRange.hashCode());
return result;
}
代码示例来源:origin: rinde/RinSim
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.tick.hashCode();
h *= 1000003;
h ^= this.clockMode.hashCode();
h *= 1000003;
h ^= this.clockEvent.hashCode();
return h;
}
内容来源于网络,如有侵权,请联系作者删除!