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, and user inputs are shown as follows: "The -XX:+FlightRecorderOptions
accepts a parameter named settings
, which, by default, points to $JAVA_HOME/jre/lib/jfr/default.jfc
."
A block of code is set as follows:
def sum(l: List[Int]): Int = l match { case Nil => 0 case x :: xs => x + sum(xs) }
Any command-line input or output is written as follows:
sbt 'project chapter2' 'set javaOptions := Seq("-Xmx1G")' 'runMain highperfscala.benchmarks.ThroughputBenchmark src/main/resources/historical_data 250000'
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: "Let's start on the Overview tab of the Code tab group."