本文整理了Java中org.springframework.data.domain.Sort.hashCode()
方法的一些代码示例,展示了Sort.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sort.hashCode()
方法的具体详情如下:
包路径:org.springframework.data.domain.Sort
类名称:Sort
方法名:hashCode
暂无
代码示例来源:origin: spring-projects/spring-data-solr
@Override
public int hashCode() {
int result = sort.hashCode();
result = 31 * result + page;
result = 31 * result + (int) (size ^ (size >>> 32));
return result;
}
代码示例来源:origin: org.springframework.data/spring-data-commons-core
@Override
public int hashCode() {
int result = 17;
result = 31 * result + page;
result = 31 * result + size;
result = 31 * result + (null == sort ? 0 : sort.hashCode());
return result;
}
}
代码示例来源:origin: apache/servicemix-bundles
@Override
public int hashCode() {
return 31 * super.hashCode() + sort.hashCode();
}
代码示例来源:origin: com.blazebit/blaze-persistence-integration-spring-data-base
@Override
public int hashCode() {
int result = getKeysetPage() != null ? getKeysetPage().hashCode() : 0;
result = 31 * result + (getSort() != null ? getSort().hashCode() : 0);
result = 31 * result + getIntOffset();
result = 31 * result + getPageSize();
return result;
}
}
代码示例来源:origin: Blazebit/blaze-persistence
@Override
public int hashCode() {
int result = getKeysetPage() != null ? getKeysetPage().hashCode() : 0;
result = 31 * result + (getSort() != null ? getSort().hashCode() : 0);
result = 31 * result + getIntOffset();
result = 31 * result + getPageSize();
return result;
}
}
内容来源于网络,如有侵权,请联系作者删除!