<<my previous reply got mangled>>
This should work:

coon.filter(x => x.exists(el => Seq(1,15).contains(el)))

CompactBuffer is a specialised form of a Scala Iterator

-------------------------------------------------------------------------------
Robin East
Spark GraphX in Action Michael Malak and Robin East
Manning Publications Co.
http://www.manning.com/malak/



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Graphx-CompactBuffer-help-tp24481p24490.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to