Created
June 3, 2011 19:38
-
-
Save leifwickland/1007014 to your computer and use it in GitHub Desktop.
Graph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Graph[T] = scala.collection.mutable.MultiMap[T,T] | |
def newGraph[T]: Graph[T] = new scala.collection.mutable.HashMap[T,scala.collection.mutable.Set[T]] with Graph[T] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment