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

Move VertexIdToIndexMap into impl

parent 57d7487d
No related branches found
No related tags found
No related merge requests found
package org.apache.spark.graphx
import org.apache.spark.util.collection.OpenHashSet
package object impl {
type VertexIdToIndexMap = OpenHashSet[VertexID]
}
......@@ -2,9 +2,7 @@ package org.apache.spark
import org.apache.spark.util.collection.OpenHashSet
package object graphx {
type VertexID = Long
// TODO: Consider using Char.
......@@ -12,11 +10,6 @@ package object graphx {
type VertexSet = OpenHashSet[VertexID]
// type VertexIdToIndexMap = it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap
type VertexIdToIndexMap = OpenHashSet[VertexID]
/**
* Return the default null-like value for a data type T.
*/
/** * Returns the default null-like value for a data type T. */
def nullValue[T] = null.asInstanceOf[T]
}
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