public class EdgeVal extends Value
Constructor and Description |
---|
EdgeVal() |
Modifier and Type | Method and Description |
---|---|
void |
addEdge(int s,
int v,
int d) |
void |
addEdgeVal(EdgeVal edgeVal) |
void |
clear()
Abstract method for clearing the Writable
data
|
int[] |
getDest() |
int |
getNumEdges() |
int |
getNumWriteBytes()
Abstract method for getting the number of
bytes of the Writable data
|
int[] |
getSrc() |
int[] |
getVal() |
void |
read(java.io.DataInput in)
Abstract method for reading Writable data
from DataInput
|
void |
write(java.io.DataOutput out)
Abstract method for writing Writable data to
DataOutPut
|
create, encode, forClass, free, getNumEnocdeBytes, newInstance, release
public void addEdge(int s, int v, int d)
public void addEdgeVal(EdgeVal edgeVal)
public int[] getSrc()
public int[] getVal()
public int[] getDest()
public int getNumEdges()
public void write(java.io.DataOutput out) throws java.io.IOException
Writable
public void read(java.io.DataInput in) throws java.io.IOException
Writable
public int getNumWriteBytes()
Writable
getNumWriteBytes
in class Writable