java - How to iterate over LoadingCache google class -


i have loadingcache class this:

loadingcache<integer, list<parent>> parents 

where parent class has id, description, home, , nickname

i want print values inside parents object

i tried like:

parents.keys() 

but couldn't find method loodingcache object

you can use method asmap() instead:

  /**    * returns view of entries stored in cache thread-safe map. modifications made    * map directly affect cache.    */   concurrentmap<k, v> asmap(); 

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -