Java Reference
In-Depth Information
Apache Commons Logging: Adds a thin bridge between your program and many other log-
ging libraries.
Apache Commons Math: Adds many mathematical and statistics components not available
in Java by default.
See http://commons.apache.org/ .
google guava
Another collection of libraries, Guava is used by Google in all its Java projects. The most important
features include:
Replacement for Java's default collections, making them faster and better. This was the initial
idea for the creation of Guava, back when it was called “Google‐collections” (you'll see this
library popping up, but it is outdated and replaced by Guava).
Tools to avoid NullPointerExceptions .
Tools to add preconditions to methods.
Tools to simplify other common tasks, such as writing a toString() method.
Tools to efficiently manipulate strings.
Tools to deal with I/O.
Mathematical library.
Tools to write parallel programs.
Note that there is a high degree of overlap regarding the objectives and content of Google Guava
and Apache Commons, so it's best to stick with the same project if you can.
See https://code.google.com/p/guava‐libraries/ .
trove
The Trove library provides yet another high‐speed replacement for collection types. The reason for
so many implementations stems from the fact that collections often form the cornerstone of every
algorithm in Java, and it thus makes sense to keep these nimble and fast.
Trove is popular in some areas (some computer science researchers prefer it), but if you're already
using Apache Commons or Google Guava, there's no need to add Trove for any particular reason.
Just use the Commons Collections or Guava Collections.
See http://trove.starlight‐systems.com/ .
colt
This is another library used by computer scientists aiming to add high‐performance scientific com-
puting functionality (linear algebra, statistics, fast multidimensional arrays, and others). In most
 
Search WWH ::




Custom Search