本文整理了Java中com.tinkerpop.blueprints.Element.remove()
方法的一些代码示例,展示了Element.remove()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.remove()
方法的具体详情如下:
包路径:com.tinkerpop.blueprints.Element
类名称:Element
方法名:remove
[英]Remove the element from the graph.
[中]从图形中删除该元素。
代码示例来源:origin: com.tinkerpop.gremlin/gremlin-java
/**
* Remove every element at the end of this Pipeline.
*/
@Override
public void remove() {
for (final Object object : this) {
((Element) object).remove();
}
}
代码示例来源:origin: BrynCooke/totorom
/**
* Remove this element from the graph.
*/
protected void remove() {
element.remove();
}
代码示例来源:origin: com.tinkerpop.blueprints/blueprints-core
public void remove() {
this.baseElement.remove();
}
代码示例来源:origin: BrynCooke/totorom
@Override
public void remove() {
if (current != null) {
current.remove();
current = null;
} else {
throw new IllegalStateException();
}
}
};
代码示例来源:origin: BrynCooke/totorom
@Override
public void remove() {
if (current instanceof Element) {
((Element) current).remove();
current = null;
}
else {
throw new UnsupportedOperationException("Current must be an element to remove");
}
}
内容来源于网络,如有侵权,请联系作者删除!