¡@

Home 

java Programming Glossary: mapmaker

How is Java's ThreadLocal implemented under the hood?

http://stackoverflow.com/questions/1202444/how-is-javas-threadlocal-implemented-under-the-hood

Thread T Or if we're using Guava and we should be new MapMaker .weakKeys .makeMap This means once no one else is holding onto..

Apache Commons vs. Guava (formerly “Google Collections”) [closed]

http://stackoverflow.com/questions/1444437/apache-commons-vs-guava-formerly-google-collections

it's actively maintained CacheBuilder and it's predecessor MapMaker are just plain awesome Apache Commons Collections is a good..

Is there a SoftHashMap in Java?

http://stackoverflow.com/questions/264582/is-there-a-softhashmap-in-java

in the comments the Google Collection Google Guava MapMaker does use SoftReferences A ConcurrentMap builder providing any..

Thread-safe cache of one object in java

http://stackoverflow.com/questions/3636244/thread-safe-cache-of-one-object-in-java

CountryList private static final Object ONE new Integer 1 MapMaker is from Google Collections Library private Map Object List String.. Library private Map Object List String cache new MapMaker .initialCapacity 1 .makeComputingMap new Function Object List..

Use of Google-collections MapMaker?

http://stackoverflow.com/questions/3737140/use-of-google-collections-mapmaker

of Google collections MapMaker I just came across this answer in SO where it is mentioned.. in SO where it is mentioned that the Google collections MapMaker is awesome.I went through the documentation but couldn't really.. out some scenario's where it would be appropriate to use a MapMaker. java map guava share improve this question Here's a quick..

Java time-based map/cache with expiring keys

http://stackoverflow.com/questions/3802370/java-time-based-map-cache-with-expiring-keys

or Guava as it is named now has something called MapMaker which can do exactly that. ConcurrentMap Key Graph graphs new.. can do exactly that. ConcurrentMap Key Graph graphs new MapMaker .concurrencyLevel 4 .softKeys .weakValues .maximumSize 10000.. As of guava 10.0 released September 28 2011 many of these MapMaker methods have been deprecated in favour of the new CacheBuilder..

What are the big improvements between guava and apache equivalent libraries?

http://stackoverflow.com/questions/4542550/what-are-the-big-improvements-between-guava-and-apache-equivalent-libraries

above allow for a very compact API. Simply look at the MapMaker to see the power packed inside a simple builder. Other good.. result of a complex function Feed this function to your MapMaker and BINGO you got a thread safe computing map cache. Need to..

my ideal cache using guava

http://stackoverflow.com/questions/6778743/my-ideal-cache-using-guava

trying to find my ideal cache implementation using guava's MapMaker . See my previous two questions here and here to follow my thought.. expireAfterAccess ConcurrentMap String MyObject cache new MapMaker .maximumSize MAXIMUM_SIZE .expireAfterAccess MINUTES_TO_EXPIRY.. still in memory ConcurrentMap String MyObject interner new MapMaker .weakValues .makeMap and the load function would be revised..

Handle null value using Guava MapMaker/CacheBuilder

http://stackoverflow.com/questions/8298285/handle-null-value-using-guava-mapmaker-cachebuilder

null value using Guava MapMaker CacheBuilder I try to make a cache using MapMaker CacheBuilder.. Guava MapMaker CacheBuilder I try to make a cache using MapMaker CacheBuilder but I don't understand how to properly handle null.. handle null values. ConcurrentMap Key Graph graphs new MapMaker .concurrencyLevel 4 .weakKeys .maximumSize 10000 .expireAfterWrite..