public class VertexStatusForInt<I,V> extends java.lang.Object implements VertexStatus<java.lang.String,java.lang.Integer>
| Constructor and Description |
|---|
VertexStatusForInt() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Get the vertex id.
|
java.lang.Integer |
getValue()
Get the vertex value (data stored with vertex)
|
void |
setId(java.lang.String id) |
void |
setValue(java.lang.Integer value)
Set the vertex data (immediately visible in the computation)
|
public java.lang.String getId()
VertexStatusgetId in interface VertexStatus<java.lang.String,java.lang.Integer>public java.lang.Integer getValue()
VertexStatusgetValue in interface VertexStatus<java.lang.String,java.lang.Integer>public void setId(java.lang.String id)
setId in interface VertexStatus<java.lang.String,java.lang.Integer>public void setValue(java.lang.Integer value)
VertexStatussetValue in interface VertexStatus<java.lang.String,java.lang.Integer>value - Vertex data to be set