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