Class CacheableLong
java.lang.Object
org.deltava.util.cache.CacheableLong
- All Implemented Interfaces:
Serializable
,Cacheable
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CacheableLong
Creates the Object.- Parameters:
cacheKey
- the cache keyvalue
- the long value
-
-
Method Details
-
cacheKey
-
getValue
public long getValue()Returns the value.- Returns:
- the value
-
intValue
public int intValue()Returns the value as a 32-bit integer.- Returns:
- an int
-
hashCode
-
equals
-
toString
-