KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > suberic > util > cache > SimpleSizedCacheEntryFactory


1 package net.suberic.util.cache;
2
3 /**
4  * A class that can create SizedCacheEntries.
5  */

6 public class SimpleSizedCacheEntryFactory {
7
8   public SimpleSizedCacheEntryFactory() {
9   }
10
11   /**
12    * Create an appropriate SizedCacheEntry.
13    */

14   public SizedCacheEntry createCacheEntry(Object JavaDoc value) {
15     return new SizedCacheEntry(value);
16   }
17
18 }
19
Popular Tags