org.apache.clerezza.commons.rdf.Graph.isEmpty()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(154)

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

Graph.isEmpty介绍

暂无

代码示例

代码示例来源:origin: org.apache.clerezza/rdf.core

@Override
  public Boolean run() {
    return graph.isEmpty();
  }
});

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

@Override
public boolean isEmpty() {
  return wrapped.isEmpty();
}

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

@Override
  public Boolean run() {
    return graph.isEmpty();
  }
});

代码示例来源:origin: org.apache.clerezza.commons-rdf/commons-rdf-impl-utils

@Override
public boolean isEmpty() {
  return wrapped.isEmpty();
}

代码示例来源:origin: org.apache.clerezza/rdf.utils

@Override
public boolean isEmpty() {
  return base.isEmpty();
}

代码示例来源:origin: org.apache.clerezza/rdf.core.test

@Override
public boolean isEmpty() {
  return wrapped.isEmpty();
}

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

@Override
public boolean isEmpty() {
  return base.isEmpty();
}

代码示例来源:origin: org.apache.clerezza/rdf.core

@Override
public boolean isEmpty() {
  checkRead();
  return wrapped.isEmpty();
}

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

@Override
public boolean isEmpty() {
  checkRead();
  return wrapped.isEmpty();
}

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

this.writeLock = contentItem.getLock().writeLock();
executionMetadata = initExecutionMetadataContentPart(contentItem);
if(executionMetadata.isEmpty()){

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

if(!ldPathResults.isEmpty()){ //copy the results
  writeLock.lock();
  try {

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

@Test
public void testCreateGraph() {
  TcProvider simpleTcmProvider = getInstance();
  Graph mGraph = simpleTcmProvider.createGraph(uriRefA);
  assertTrue(mGraph.isEmpty());
  try {
    simpleTcmProvider.createGraph(uriRefA);
    assertTrue(false);
  } catch (EntityAlreadyExistsException e) {
    assertTrue(true);
  }
  simpleTcmProvider.deleteGraph(uriRefA);
}

代码示例来源:origin: org.apache.clerezza/rdf.core.test

@Test
public void testCreateGraph() {
  TcProvider simpleTcmProvider = getInstance();
  Graph mGraph = simpleTcmProvider.createGraph(uriRefA);
  assertTrue(mGraph.isEmpty());
  try {
    simpleTcmProvider.createGraph(uriRefA);
    assertTrue(false);
  } catch (EntityAlreadyExistsException e) {
    assertTrue(true);
  }
  simpleTcmProvider.deleteGraph(uriRefA);
}

相关文章