文章浏览阅读5.2k次。条件表达式条件表达式就是if表达式。scala条件表达式的语法和Java一样。有返回值的if参考代码:scala> val sex = "male"sex: String = malescala> val result = if(sex == "male") 1 else 0result: Int = 1与Java不一样......
文章浏览阅读100次。Listing the last 2 days of Completed SnapshotsSnapInstance DB Name Snap Id Snap Started Level------------ ------------ --------- ------------------ -----test08 TEST08 7330 20 10 月 2009 00:00 17331 20 ..._ieawr...