|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.cache.CacheKeyUtils
public final class CacheKeyUtils
This is a utility class that generates cache keys for compound objects.
Method Summary | ||
---|---|---|
static
|
key(Collection<K> col)
Create a String key value out of a Collection. |
|
static
|
key(Map<K,?> map)
Create a String key value out of a Map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <K extends Comparable<K>> String key(Map<K,?> map)
K
- the map key typemap
- the map. if null will return ""
public static <K extends Comparable<K>> String key(Collection<K> col)
K
- the col typecol
- the collection. if null will return ""
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |