What's on here?
While writing commercial software for the last couple of years, I came across interesting computational problems, design patterns and implementations. On this site I would like to share some of the interesting pieces.
- Time and gather statistics from an java.util.concurrent.ExecutorService
- A java.util.Queue
that can spill over into a file
- Reverse a linked list
- Java's collection framework lacks a map that accepts duplicate keys (and therefore one-to-many value mappings). Here are an interface and an implementation of how such a multi-map might look like.
- Writing a journal is a natural way of keeping track of events, ideas and memories. In software the concept of a journal is frequently used to implement recoverability, roll-back and audit features. Here is a journal implementation that is backed by a file on disk.