特牛网址导航

scala基础语法(二)_"已知tuple1 =(\"hadoop\", \"spark\",\"flink\",\"stor-CSDN博客

网友收藏
文章浏览阅读93次。九.数组操作 val arr = Array(Array(1, 2, 5, 4), Array(3, 6, 7, 8), Array(9, 10)) //flatten只能一次压一层 val flatten = arr.flatten println(flatten.toBuffer) val lines = Array("spark hadoop flink spark", "spark spark flink", "spark flink") val lin_"已知tuple1 =(\"hadoop\", \"spark\",\"flink\",\"storm\"),那么执行语句 len size ="