com.tinkerpop.gremlin.tinkergraph.process.computer.TinkerMessageBoard Maven / Gradle / Ivy
package com.tinkerpop.gremlin.tinkergraph.process.computer;
import com.tinkerpop.gremlin.structure.Vertex;
import java.util.HashMap;
import java.util.Map;
import java.util.Queue;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
class TinkerMessageBoard {
public Map> sendMessages = new HashMap<>();
public Map> receiveMessages = new HashMap<>();
public void completeIteration() {
this.receiveMessages = this.sendMessages;
this.sendMessages = new HashMap<>();
}
}