| Constructor and Description |
|---|
PackageToNamespaceComputable() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
calculateNamespaces(Class<?> clazz) |
Map<String,String> |
compute(Package key)
Defines an expensive computation to retrieve value V from key K.
|
public Map<String,String> compute(Package key) throws ComputationErrorException
Computablecompute in interface Computable<Package,Map<String,String>>key - input data.ComputationErrorException - if the computation performed should
be returned by the cache but should not be kept in the cache associated
with the keyCopyright © 2009–2019 Oracle Corporation. All rights reserved.