本文整理汇总了Java中com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener类的典型用法代码示例。如果您正苦于以下问题:Java GraphChangedListener类的具体用法?Java GraphChangedListener怎么用?Java GraphChangedListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
GraphChangedListener类属于com.tinkerpop.blueprints.util.wrappers.event.listener包,在下文中一共展示了GraphChangedListener类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: fireEvent
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
@Override
public void fireEvent(final Iterator<com.tinkerpop.blueprints.util.wrappers.event2.listener.GraphChangedListener> eventListeners) {
while (eventListeners.hasNext()) {
eventListeners.next().vertexAdded(vertex);
}
}
示例2: fireEvent
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
@Override
public void fireEvent(final Iterator<com.tinkerpop.blueprints.util.wrappers.event2.listener.GraphChangedListener> eventListeners) {
while (eventListeners.hasNext()) {
fire(eventListeners.next(), vertex, key, oldValue, newValue);
}
}
示例3: fire
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
@Override
void fire(final com.tinkerpop.blueprints.util.wrappers.event2.listener.GraphChangedListener listener, final Vertex vertex, final String key, final Object oldValue, final Object newValue) {
listener.vertexPropertyRemoved(vertex, key, oldValue);
}
示例4: fireEvent
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
@Override
public void fireEvent(final Iterator<com.tinkerpop.blueprints.util.wrappers.event2.listener.GraphChangedListener> eventListeners) {
while (eventListeners.hasNext()) {
eventListeners.next().vertexRemoved(vertex, props);
}
}
示例5: addListener
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
public void addListener(final GraphChangedListener listener) {
this.graphChangedListeners.add(listener);
}
示例6: getListenerIterator
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
public Iterator<GraphChangedListener> getListenerIterator() {
return this.graphChangedListeners.iterator();
}
示例7: removeListener
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
public void removeListener(final GraphChangedListener listener) {
this.graphChangedListeners.remove(listener);
}
示例8: fire
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; //导入依赖的package包/类
abstract void fire(final com.tinkerpop.blueprints.util.wrappers.event2.listener.GraphChangedListener listener, final Vertex vertex, final String key, final Object oldValue, final Object newValue);