本文整理了Java中org.fusesource.hawtbuf.Buffer.hashCode()
方法的一些代码示例,展示了Buffer.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Buffer.hashCode()
方法的具体详情如下:
包路径:org.fusesource.hawtbuf.Buffer
类名称:Buffer
方法名:hashCode
暂无
代码示例来源:origin: org.apache.activemq/apollo-broker
/**
* Compute the hash code.
*
* @return the computed hashcode
*/
public int hashCode() {
if (formatId == -1)
return (-1);
return formatId ^ globalTransactionId.hashCode() ^ branchQualifier.hashCode();
}
代码示例来源:origin: org.apache.activemq/activemq-all
@Override
public int hashCode() {
if( hashCode==0 ) {
hashCode = super.hashCode();;
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
@Override
public int hashCode() {
if( hashCode==0 ) {
hashCode = super.hashCode();;
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/apollo-broker
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-leveldb
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-console
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
public int hashCode() {
if( hashCode==0 ) {
hashCode=2000715872 ^ toUnframedBuffer().hashCode();
}
return hashCode;
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
public int hashCode() {
int rc=2066384;
if (hasKey()) {
rc ^= ( 75327^getKey().hashCode() );
}
if (hasValue()) {
rc ^= ( 82420049^getValue().hashCode() );
}
return rc;
}
代码示例来源:origin: org.apache.activemq/apollo-broker
public int hashCode() {
int rc=2066384;
if (hasKey()) {
rc ^= ( 75327^getKey().hashCode() );
}
if (hasValue()) {
rc ^= ( 82420049^getValue().hashCode() );
}
return rc;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
int rc=2066384;
if (hasKey()) {
rc ^= ( 75327^getKey().hashCode() );
}
if (hasValue()) {
rc ^= ( 82420049^getValue().hashCode() );
}
return rc;
}
代码示例来源:origin: org.apache.activemq/activemq-console
public int hashCode() {
int rc=2066384;
if (hasKey()) {
rc ^= ( 75327^getKey().hashCode() );
}
if (hasValue()) {
rc ^= ( 82420049^getValue().hashCode() );
}
return rc;
}
代码示例来源:origin: org.apache.activemq/activemq-all
public int hashCode() {
int rc=2066384;
if (hasCollectionKey()) {
rc ^= ( -22299967^(new Long(getCollectionKey())).hashCode() );
}
if (hasEntryKey()) {
rc ^= ( -2029038419^getEntryKey().hashCode() );
}
return rc;
}
代码示例来源:origin: org.sonatype.spice.zapper/spice-zapper
public int hashCode() {
int rc=2241838;
if (hasHashAlg()) {
rc ^= ( -1932814962^getHashAlg().hashCode() );
}
if (hasHashBytes()) {
rc ^= ( -2007980067^getHashBytes().hashCode() );
}
return rc;
}
内容来源于网络,如有侵权,请联系作者删除!