The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages

java.lang

e48. The Quintessential Java Application
e49. Terminating the Application
e50. Determining When the Application Is About to Exit
e51. Computing Elapsed Time
e52. Loading Native Code
e53. Implementing a Class That Can Be Sorted
e54. Redirecting Standard Output, and Error
e55. Getting the Size of the Heap

Objects
e56. Cloning an Object
e57. Comparing Object Values Using Hash Codes
e58. Wrapping a Primitive Type in a Wrapper Object

Classes
e59. Getting a Class Object
e60. Getting the Name of a Class Object
e61. Determining If a Class Object Represents a Class or Interface
e62. Getting the Superclass of an Object
e63. Getting the Superclass of a Class Object
e64. Listing the Interfaces That a Class Implements
e65. Listing the Interfaces That an Interface Extends
e66. Getting the Package of a Class
e67. Determining from Where a Class Was Loaded
e68. Loading a Class That Is Not on the Classpath
e69. Dynamically Reloading a Modified Class

Strings
e70. Constructing a String
e71. Comparing Strings
e72. Determining If a String Contains a Substring
e73. Getting a Substring from a String
e74. Searching a String for a Character or a Substring
e75. Replacing Characters in a String
e76. Replacing Substrings in a String
e77. Converting a String to Upper or Lower Case
e78. Converting a Primitive Type Value to a String
e79. Converting Between Unicode and UTF-8
e80. Determining a Character's Unicode Block
e81. Determining If a String Is a Legal Java Identifier

Numbers
e82. Converting a String to a Number
e83. Parsing and Formatting a Number into Binary, Octal, and Hexadecimal

Arrays
e84. Shifting Elements in an Array
e85. Copying Elements from One Array to Another

System Properties
e86. Getting and Setting the Value of a System Property
e87. Setting the Value of a System Property from the Command Line
e88. Listing All System Properties

Commands
e89. Executing a Command
e90. Reading Output from a Command
e91. Sending Input to a Command

Threads
e92. Creating a Thread
e93. Stopping a Thread
e94. Determining When a Thread Has Finished
e95. Pausing the Current Thread
e96. Pausing a Thread
e97. Determining If the Current Thread Is Holding a Synchronized Lock
e98. Allowing an Application with Live Threads to Exit
e99. Listing All Running Threads
e100. Using a Thread-Local Variable
e101. Getting the Stack Trace of an Exception
e102. Implementing a Work Queue

Assertions
e103. Compiling a Program with Assertions
e104. Enabling Assertions from the Command Line
e105. Handling an Assertion Error

© 2002 Addison-Wesley.