2014-11-14 36 views

回答

0

只是做類似下面的

(t:EdgeTriplet[Foo,Bar]) => (t.srcId, t.dstId, t.edgeAttr) match{ 
    case (0, 1, edgeAttr) => 
    case (stcId, dstId, edgeAttr) if ... => ... 
    case _ => Unit 
} 
相關問題