com.hp.hpl.jena.graph.Graph.dependsOn()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(160)

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

Graph.dependsOn介绍

[英]true if this graph's content depends on the other graph. May be pessimistic (ie return true if it's not sure). Typically true when a graph is a composition of other graphs, eg union.
[中]如果此图的内容依赖于其他图,则为true。可能是悲观的(如果不确定,则返回true)。当一个图是其他图的组合(如并集)时,通常为真。

代码示例

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

@Override
public boolean dependsOn(Graph other)
{
  return graph.dependsOn(other) ;
}

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

/**
  Generic dependsOn, true iff it depends on either of the subgraphs.
*/
@Override
public boolean dependsOn( Graph other )
  { return other == this || L.dependsOn( other ) || R.dependsOn( other ); }

代码示例来源:origin: org.appdapter/org.appdapter.lib.remote

@Override public boolean dependsOn(Graph arg0) {
  return g.dependsOn(arg0);
}

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

@Override
public boolean dependsOn( Graph other )
{ return base.dependsOn( other ); }

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

@Override
@Deprecated
public void delete( Graph g, boolean withReifications )
  { 
  if (g.dependsOn( graph ))
    delete( triplesOf( g ) );
  else
    deleteIterator( GraphUtil.findAll( g ), false );
  manager.notifyDeleteGraph( graph, g );
  }

相关文章