Skip to content
Snippets Groups Projects
Commit 55101f58 authored by Ankur Dave's avatar Ankur Dave
Browse files

One-line Scaladoc comments in Edge and EdgeDirection

parent 64f73f73
No related branches found
No related tags found
No related merge requests found
......@@ -8,18 +8,13 @@ package org.apache.spark.graphx
* @tparam ED type of the edge attribute
*/
case class Edge[@specialized(Char, Int, Boolean, Byte, Long, Float, Double) ED] (
/**
* The vertex id of the source vertex
*/
var srcId: VertexID = 0,
/**
* The vertex id of the target vertex.
*/
var dstId: VertexID = 0,
/**
* The attribute associated with the edge.
*/
var attr: ED = nullValue[ED]) extends Serializable {
/** The vertex id of the source vertex */
var srcId: VertexID = 0,
/** The vertex id of the target vertex. */
var dstId: VertexID = 0,
/** The attribute associated with the edge. */
var attr: ED = nullValue[ED])
extends Serializable {
/**
* Given one vertex in the edge return the other vertex.
......
package org.apache.spark.graphx
/**
* The direction of a directed edge relative to a vertex.
*/
......@@ -18,18 +17,12 @@ sealed abstract class EdgeDirection {
object EdgeDirection {
/**
* Edges arriving at a vertex.
*/
/** Edges arriving at a vertex. */
case object In extends EdgeDirection
/**
* Edges originating from a vertex
*/
/** Edges originating from a vertex. */
case object Out extends EdgeDirection
/**
* All edges adjacent to a vertex
*/
/** All edges adjacent to a vertex. */
case object Both extends EdgeDirection
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment