Tip Bank

DevX

Monitor a Java Application in 1.5 JVM

Simply start your application with: -Dcom.sun.management.jmxremote This allows you to monitor the GC, thread, and memory status of the application throughout: [jdk_home]/bin/jconsole

DevX

Accessing Individual Bits of a Value

Ever needed to access individual bits of a value? It can be done with bitshifting and a sequence of logical &s quickly and easily. When finished, you will have a

DevX

The includes() Algorithm

You can use the includes() algorithm to determine if every element within a specified range of a sequence container is completely contained within a specified range of another sequence conatainer.

DevX

Increase Instance Capacity by Ten Percent

ArrayList doesn’t need any introduction to Java programmers. It is probably the most used component of the Java collection framework. One of the ArrayList constructors takes Collection as an argument.

DevX

Visual Inheritance with C#

Microsoft VS.NET provides design-time support for form inheritance. A derived form can be added to your solution by right-clicking on your project in the Solution Explorer window and choosing “Add…”

DevX

Use Oracle and Triggers to Secure Table Data

Ever deleted some tables accidently and had to waste your time doing them all over again? Oracle, in conjunciton with Triggers, provides an easy solution to this problem. First, create