📄 stringadd.scala
字号:
/* *\** ________ ___ __ ___ Scala API **** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **** /____/\___/_/ |_/____/_/ |_| **** **\* */// $Id: StringAdd.scala 14416 2008-03-19 01:17:25Z mihaylov $package scala.runtimeimport Predef._final class StringAdd(self: Any) { def +(other: String) = self.toString + other /** Formats string according to given <code>format</code> string. * Format strings are as for <code>String.format</code> (@see * http://msdn2.microsoft.com/en-us/library/system.string.format(VS.71).aspx * and http://www.codeproject.com/books/0735616485.asp). */ def formatted(format: String): String = String.Format(format, Array(self.asInstanceOf[Object]))}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -