官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "For now, simply create a new folder called csvreader and a file in it called CSVReader.scala."

A block of code is set as follows:

object CSVReader {
    def main(args: Array[String]) {
        for (line <- Source.fromFile("iris.csv").getLines()) {
            println(line)
        }
    }
}

Any command-line input or output is written as follows:

scala> xs dot ws
res2: Double = 27.5

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "You can access it via the Plot menu option."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 蓬安县| 和龙市| 衡山县| 锦州市| 花莲市| 大兴区| 旬阳县| 全州县| 海阳市| 开阳县| 康平县| 永平县| 英山县| 黄骅市| 尼木县| 宁城县| 榆中县| 凤凰县| 井陉县| 淮阳县| 曲水县| 荃湾区| 文水县| 江油市| 和顺县| 大同县| 分宜县| 田东县| 天津市| 高碑店市| 遵义市| 清涧县| 息烽县| 屯门区| 西吉县| 屏东县| 泸西县| 阜康市| 酒泉市| 阿拉尔市| 泸州市|