首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 工作与Scala中常见的实用功能

工作与Scala中常见的实用功能

  • 资源大小:13.39 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: scala 工作 功能 实用 常见

资 源 简 介

Introduction This package will provide utility functions to make it easier to use the interactive scala interpreter, and also to allow easier scripting with scala Sample usage $ scalaWelcome to Scala version 2.6.1-final.Type in expressions to have them evaluated.Type :help for more information. We begin by importing **helper**, which is the object provided by this package scala> import helper._import helper._ **helper.exec** allows you to execute any command and get back the exit status along with the output scala> exec ("find ../ -type d -maxdepth 1")res0: (Int, List[String]) = (0,List(../, ../thunderbird, ../bin, ../man, ../share, ../info, ../lib, ../include, ../argo, ../eclipse, ../google-earth, ../etc, ../plugins, ../phrasebooks, ../examples, ../demos, ../doc, ../translations, ../mkspecs, ../jaxe-source, ../cursor_themes, ../libexec) As you can see, the result of

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.178091s