org.apache.jena.atlas.lib.Lib.hashCodeObject()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(170)

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

Lib.hashCodeObject介绍

[英]HashCode - allow nulls
[中]HashCode-允许空值

代码示例

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

@Override
public int hashCode()
{
  return hashCodeObject(tokenType) ^
      hashCodeObject(tokenImage) ^
      hashCodeObject(tokenImage2) ^
      hashCodeObject(cntrlCode) ;
}

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

@Override
public int hashCode() {
  return hashCodeObject(type, 1) ^ hashCodeObject(subType, 2) ^ hashCodeObject(params, 3) ;
}

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

@Override
public int hashCode() {
  return 31*Lib.hashCodeObject(op,1) + Lib.hashCodeObject(unplaced) ;
}
@Override

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode()
{
  return hashCodeObject(tokenType) ^
      hashCodeObject(tokenImage) ^
      hashCodeObject(tokenImage2) ^
      hashCodeObject(cntrlCode) ;
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode() {
  return hashCodeObject(type, 1) ^ hashCodeObject(subType, 2) ^ hashCodeObject(params, 3) ;
}

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

/** HashCode - allow nulls */
public static final int hashCodeObject(Object obj) { return hashCodeObject(obj, -4) ; }

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

/** HashCode - allow nulls */
public static final int hashCodeObject(Object obj) { return hashCodeObject(obj, -4) ; }

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

@Override
public int hashCode() {
  int x = HashLabel ;
  x ^= Lib.hashCodeObject(object, 0) ;
  x ^= Lib.hashCodeObject(getSubOp(), 0) ;
  return x ;
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode()
{
  int x = HashLabel ;
  x ^= Lib.hashCodeObject(object, 0) ;
  x ^= Lib.hashCodeObject(getSubOp(), 0) ;
  return x ;
}

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

@Override
public int hashCode()
{
  return getFunctionSymbol().hashCode() ^
      Lib.hashCodeObject(expr1) ^
      Lib.hashCodeObject(expr2) ^
      Lib.hashCodeObject(expr3) ;
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode()
{
  return getFunctionSymbol().hashCode() ^
      Lib.hashCodeObject(expr1) ^
      Lib.hashCodeObject(expr2) ^
      Lib.hashCodeObject(expr3) ;
}

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

@Override
public int hashCode()
{
  return getFunctionSymbol().hashCode() ^
      Lib.hashCodeObject(expr1) ^
      Lib.hashCodeObject(expr2) ;
}

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

@Override
public int hashCode()
{
  return hashCodeObject(car()) ^ hashCodeObject(cdr())<<1 ; 
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode()
{
  return getFunctionSymbol().hashCode() ^
      Lib.hashCodeObject(expr1) ^
      Lib.hashCodeObject(expr2) ;
}

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

@Override
public int hashCode()
{
  return hashCodeObject(car()) ^ hashCodeObject(cdr())<<1 ; 
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode()
{
  return hashCodeObject(car()) ^ hashCodeObject(cdr())<<1 ; 
}

代码示例来源:origin: org.apache.jena/jena-base

@Override
public int hashCode()
{
  return hashCodeObject(car()) ^ hashCodeObject(cdr())<<1 ; 
}

代码示例来源:origin: org.appdapter/org.appdapter.bundle.debug

public int hashCode() {
  return Lib.hashCodeObject(car()) ^ Lib.hashCodeObject(cdr()) << 1;
}

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

@Override
public int hashCode()
{
  return getFunctionSymbol().hashCode() ^ Lib.hashCodeObject(expr) ;
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public int hashCode()
{
  return getFunctionSymbol().hashCode() ^ Lib.hashCodeObject(expr) ;
}

相关文章