simple cache library for JDK 1.4