Skip to main content

hallorant's Blog

TimeUnit rocks!

Posted by hallorant on October 21, 2011 at 1:10 PM PDT

The java.util.concurrent library added a little gem of a class, TimeUnit, which is well worth knowing a bit about. The class is used in java.util.concurrent to inform time-based methods how a given timing parameter should be interpreted. This class, however, can breathe readability back into an API that would otherwise be tough to eyeball.

Ticking away again on the Timing Framework

Posted by hallorant on April 13, 2011 at 7:16 PM PDT