摘要:        
1、对于一个二元数组,键值对(k,v) 用map的时候,要取第一个或者第二个元素,用 _1 或者 _2表示。 scala> words.take(2)res40: Array[(String, String)] = Array((this,this is a test), (how,how are     阅读全文
            
                posted @ 2017-06-28 17:17
江枫1
阅读(148)
评论(0)
推荐(0)
            
        
                    
                
        2017年6月28日