public class SimpleVertexDictionary extends java.lang.Object implements VertexDictionary
Modifier and Type | Method and Description |
---|---|
static VertexDictionary |
backedBy(java.util.Map<VertexLabel,Vertex<?>> dictionary) |
<V extends Vertex<?>> |
get(VertexLabel label) |
static VertexDictionary |
of(Vertex<?>... vertices) |
public <V extends Vertex<?>> V get(VertexLabel label)
get
in interface VertexDictionary
public static VertexDictionary backedBy(java.util.Map<VertexLabel,Vertex<?>> dictionary)
backedBy
in interface VertexDictionary
public static VertexDictionary of(Vertex<?>... vertices)
of
in interface VertexDictionary