| java.lang.Object com.Yasna.util.CacheableInteger
CacheableInteger | public class CacheableInteger implements Cacheable(Code) | | Wrapper for Integer objects so they can be treated as Cacheable objects.
Integer is a final class, so it can't be extended.
|
Method Summary | |
public Integer | getInteger() Returns the Integer wrapped by the CacheableInteger object. | public int | getSize() |
CacheableInteger | public CacheableInteger(Integer integer)(Code) | | Creates a new CacheableInteger.
Parameters: string - the Integer object to wrap. |
getInteger | public Integer getInteger()(Code) | | Returns the Integer wrapped by the CacheableInteger object.
the Integer object. |
getSize | public int getSize()(Code) | | |
|
|