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

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.

主站蜘蛛池模板: 炎陵县| 罗甸县| 高雄市| 宝应县| 蓝山县| 英德市| 响水县| 南投市| 湟源县| 浮梁县| 辽宁省| 曲阳县| 望都县| 黄冈市| 工布江达县| 大兴区| 修武县| 长丰县| 班戈县| 湖州市| 水城县| 吉安市| 甘谷县| 巴林左旗| 泸州市| 滨海县| 青浦区| 南靖县| 惠水县| 鸡泽县| 毕节市| 得荣县| 突泉县| 维西| 阿尔山市| 山丹县| 清新县| 灵石县| 萨迦县| 香港 | 阿拉善右旗|