I - Vertex idE - Edge valuepublic interface StrictRandomAccessOutEdges<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends OutEdges<I,E>
OutEdges implementations that provide efficient
random access to the edges given the target vertex id.
This version is for strict graphs (i.e. assumes no parallel edges).| Modifier and Type | Method and Description |
|---|---|
E |
getEdgeValue(I targetVertexId)
Return the edge value for the given target vertex id (or null if there
is no edge pointing to it).
|
void |
setEdgeValue(I targetVertexId,
E edgeValue)
Set the edge value for the given target vertex id (if an edge to that
vertex exists).
|
add, initialize, initialize, initialize, remove, sizeforEach, iterator, spliteratorCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.