public class HashSettableVertexMapper extends java.lang.Object implements SettableVertexMapper
HashMap
to store mappings between vertices.
Places no constraints on mappings (mappings need not be 1-1,
onto, etc.).Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
m |
Constructor and Description |
---|
HashSettableVertexMapper() |
Modifier and Type | Method and Description |
---|---|
ArchetypeVertex |
getMappedVertex(ArchetypeVertex v) |
void |
map(ArchetypeVertex v1,
ArchetypeVertex v2) |
public void map(ArchetypeVertex v1, ArchetypeVertex v2)
map
in interface SettableVertexMapper
SettableVertexMapper.map(edu.uci.ics.jung.graph.ArchetypeVertex, edu.uci.ics.jung.graph.ArchetypeVertex)
public ArchetypeVertex getMappedVertex(ArchetypeVertex v)
getMappedVertex
in interface VertexMapper
VertexMapper.getMappedVertex(edu.uci.ics.jung.graph.ArchetypeVertex)