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

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.

主站蜘蛛池模板: 察哈| 连州市| 馆陶县| 平安县| 阿克| 丹凤县| 丰都县| 恩平市| 峡江县| 锦屏县| 贺州市| 云梦县| 晋城| 海口市| 张北县| 城口县| 乐都县| 河西区| 罗山县| 民勤县| 建昌县| 武冈市| 容城县| 化德县| 乌审旗| 修水县| 广南县| 荃湾区| 平度市| 东安县| 五华县| 老河口市| 大邑县| 南溪县| 沅江市| 亳州市| 道真| 开鲁县| 涿鹿县| 安福县| 高雄县|