public class Mapping
extends java.lang.Object
Constructor and Description |
---|
Mapping() |
Modifier and Type | Method and Description |
---|---|
void |
add(Vertex source,
Vertex target) |
boolean |
containsSource(Vertex sourceVertex) |
boolean |
containsTarget(Vertex targetVertex) |
Mapping |
copy() |
boolean |
equals(java.lang.Object o) |
Mapping |
extendMapping(Vertex source,
Vertex target) |
com.google.common.collect.BiMap<Vertex,Vertex> |
getMap() |
Vertex |
getSource(int i) |
Vertex |
getSource(Vertex target) |
java.util.List<Vertex> |
getSources() |
Vertex |
getTarget(int i) |
Vertex |
getTarget(Vertex source) |
java.util.List<Vertex> |
getTargets() |
int |
hashCode() |
Mapping |
removeLastElement() |
int |
size() |
public Vertex getSource(int i)
public Vertex getTarget(int i)
public java.util.List<Vertex> getTargets()
public java.util.List<Vertex> getSources()
public boolean containsSource(Vertex sourceVertex)
public boolean containsTarget(Vertex targetVertex)
public int size()
public Mapping removeLastElement()
public Mapping copy()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object