本文整理了Java中com.hp.hpl.jena.graph.Triple.hashCode()
方法的一些代码示例,展示了Triple.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Triple.hashCode()
方法的具体详情如下:
包路径:com.hp.hpl.jena.graph.Triple
类名称:Triple
方法名:hashCode
[英]The hash-code of a triple is the hash-codes of its components munged together: see hashCode(S, P, O).
[中]三元组的散列码是其组成部分的散列码:参见散列码(S,P,O)。
代码示例来源:origin: com.hp.hpl.jena/arq
@Override
public int hashCode()
{
return OpBase.HashTriple ^ triple.hashCode() ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public int hashCode()
{
return OpBase.HashTriple ^ triple.hashCode() ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
/**
The hash-code of a triple is the hash-codes of its components munged
together: see hashCode(S, P, O).
*/
@Override
public int hashCode()
{ return hashCode( subj, pred, obj ); }
代码示例来源:origin: paulhoule/infovore
@Override
public int hashCode() {
return getTriple().hashCode();
}
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
@Override public int hashCode() {
return asTriple().hashCode();
}
代码示例来源:origin: com.hp.hpl.jena/arq
@Override
public int hashCode()
{
if ( hash == -1 )
{
if ( isTriple() )
hash = asTriple().hashCode() ;
else
hash = (subject.hashCode()<<2) ^ path.hashCode() ^ (object.hashCode()<<1) ;
}
return hash ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public int hashCode()
{
if ( hash == -1 )
{
if ( isTriple() )
hash = asTriple().hashCode() ;
else
hash = (subject.hashCode()<<2) ^ path.hashCode() ^ (object.hashCode()<<1) ;
}
return hash ;
}
内容来源于网络,如有侵权,请联系作者删除!