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

Conventions

In this book, you will find a number of styles of text 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: "Then, it calls the square method to compute the value for the local variable s."

A block of code is shown as follows:

object SquareOf5 extends App {
  def square(x: Int): Int = x * x
  val s = square(5)
  println(s"Result: $s")
}

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

run-main-46: ...
Thread-80: New thread running.
run-main-46: ...
run-main-46: New thread joined.

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "After clicking on the Thread Dump button, Java VisualVM displays the stack traces of all the threads, as shown in the following screenshot:".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 比如县| 仁化县| 兴文县| 靖西县| 盐山县| 宜阳县| 镇原县| 阳山县| 昔阳县| 甘肃省| 清流县| 旅游| 宁远县| 探索| 商河县| 铜川市| 进贤县| 珠海市| 景宁| 海丰县| 博湖县| 健康| 伊金霍洛旗| 自贡市| 乡城县| 墨竹工卡县| 绥中县| 拜泉县| 鞍山市| 阿拉善盟| 嘉峪关市| 衡南县| 长泰县| 那曲县| 盐津县| 韶山市| 泉州市| 乐亭县| 剑河县| 南康市| 神池县|