|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.giraph.graph.VertexEdgeCount
public class VertexEdgeCount
Simple immutable structure for storing a final vertex and edge count.
| Constructor Summary | |
|---|---|
VertexEdgeCount()
Default constructor. |
|
VertexEdgeCount(long vertexCount,
long edgeCount)
Constructor with initial values. |
|
| Method Summary | |
|---|---|
long |
getEdgeCount()
|
long |
getVertexCount()
|
VertexEdgeCount |
incrVertexEdgeCount(long vertexCount,
long edgeCount)
Increment the both the vertex edge count with primitives. |
VertexEdgeCount |
incrVertexEdgeCount(VertexEdgeCount vertexEdgeCount)
Increment the both the vertex edge count with a VertexEdgeCount. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VertexEdgeCount()
public VertexEdgeCount(long vertexCount,
long edgeCount)
vertexCount - Final number of vertices.edgeCount - Final number of edges.| Method Detail |
|---|
public long getVertexCount()
public long getEdgeCount()
public VertexEdgeCount incrVertexEdgeCount(VertexEdgeCount vertexEdgeCount)
VertexEdgeCount.
vertexEdgeCount - add both the vertices and edges of this object.
public VertexEdgeCount incrVertexEdgeCount(long vertexCount,
long edgeCount)
vertexCount - Add this many vertices.edgeCount - Add this many edges.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||