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

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.

主站蜘蛛池模板: 灵山县| 磴口县| 德清县| 崇左市| 邹平县| 嘉兴市| 沁阳市| 乳源| 页游| 上犹县| 清水河县| 天峻县| 察隅县| 汝城县| 莱州市| 湄潭县| 嘉定区| 隆昌县| 滦平县| 弋阳县| 平乐县| 富蕴县| 瑞金市| 平湖市| 秦皇岛市| 邹平县| 灵璧县| 石城县| 宁武县| 本溪| 仲巴县| 云林县| 威信县| 泌阳县| 台安县| 敦煌市| 涟源市| 仙居县| 二连浩特市| 泾阳县| 安徽省|