Language
*Read me*
General
Use a Hashtable
Scan the content of a hashtable
Call a method dynamically
Create an Object from a String
Get a variable value from the variable name
Launch an application from another application
Create a java source dynamically, compile and call
Access the enclosing class from an inner class
Access inner class from outside
Use globally defined constants
Serialize an Object
Serialize an Object over a Socket
Easily remove my debugging code
Obtain from where a Class is loaded
Get the class name in a static method
Get the current method name
Detect if a package is available
Have a Singleton
Make methods that have unspecified number of parameters
Multiple expressions in for loops
Handle the List conflict (java.awt.List/java.util.List)
Use a generic toString()
Use a Object.clone()
Static field, constructor and exception
Use a Label break
Put printStackTrace() into a String
Array/Collection/Map
Sort an array
Initialize multidimensional array
Get array upperbound
Convert array to string
Sort collection in reverse order
Resize an array
Dump array content (JDK1.5)
Initialize a static array
Sort an Hashtable
Eliminate "[unchecked] unchecked call ..." compiler warning
Sort on many fields
Optimize Collection usage
Sort an HashMap
Get a key from value with an HashMap
Properties/Preferences
Use an INI file (properties)
Load a properties file
Accentuated characters in Properties/ResourceBundle file
Have a multi-line value in a properties file
Use XML with Properties
Use the Registry to store informations
Language
If you find this article useful, consider making a small donation
to show your support for this Web site and its content.