1.
8.7. Solving a System of Linear Equations
This example solves this system of equations and prints out the values of x, y, and z using Commons Lang ArrayUtils to print a double[] : Answers: ...
2.
5.6. Using a Bag
package com.discursive.jccook.collections.bag; import java.text.NumberFormat; import java.util.Collection; import java.util.Iterator; import java.util. ...
3.
1.15. Truncating Date Objects
Common Java Cookbook. Edition: 0.14. Current Page: ... Example 1-9 truncates a date at the month field and the hour field. Example 1-9. Truncating a Date ...
4.
11.6. Debugging HTTP Communications
Set four System variables that control logging, and HttpClient will produce debugging statements dealing with environment information, SSL configuration ...
5.
12.4. Applying XPath Queries to Complex Object Graphs
Planet Name where radius > 5000 Object: Venus Object: Saturn ... of planets and their physical properties including mass, radius, atmospheric composition, ...
6.
3.17. Wrapping a Bean with a Map
Wrap any bean in a BeanMap . This Map implementation uses introspection to ... This code wraps a Person bean with BeanMap , iterating through every key and ...
7.
3.17. Wrapping a Bean with a Map
This Map implementation uses introspection to provide access to bean properties as if they were key/value pairs in a map. This code wraps a Person bean with ...
8.
9.12. Accessing XML Documents from a Templating Engine
A NodeModel is an object that allows access to an XML document as a hierarchy of named elements and attributes from a FreeMarker template. ...
9.
7.13. Configuring Log4J with a Properties File
Jun 14, 2004 ... Use the BasicConfigurator to read a log4j.properties file resource from the classpath. The following code configures Log4J from a resource ...
10.
7.14. Configuring Log4J with XML
Use the DOMConfigurator to configure Log4J with an XML document. The following code configures Log4J from a resource named log4j.xml , and logs two messages ...