Top "Guava" questions

Google's Core Java Library for Java and Android development.

The Guava library: What are its most useful and/or hidden features?

I have had a quick scan of the Guava API and the new collection types it provides(Multimap and BiMap …

java guava
How to automatically refresh Cache using Google Guava?

I am using Google Guava library for caching. For automatic cache refresh we can do as follows: cache = CacheBuilder.newBuilder() .…

java caching guava
NoSuchMethodError exception when using com.google.common.base.Splitter

I'm trying to use com.google.common.base.Splitter as follows Iterable<String> segs = Splitter.on("/").split("one/…

java guava splitter
Application is not starting in websphere 8.5.5 but works fine in tomcat

I have a web application which can be deployed in tomcat but the same application is not starting in websphere 8.5.5. …

java websphere java-ee-6 guava websphere-8
How to convert Map<String, String> to Map<Long, String> ? (option : using guava)

I have a Map<String, String> the String key is nothing but numeric value like "123" etc. I'm getting …

java guava
HashMap alternatives for memory-efficient data storage

I've currently got a spreadsheet type program that keeps its data in an ArrayList of HashMaps. You'll no doubt be …

java collections guava
Compact way to create Guava Multimaps?

If I want to create a new Multimap with simple defaults, I curently need to do something like: private final …

java generics guava
How to remove control characters from java string?

I have a string coming from UI that may contains control characters, and I want to remove all control characters …

java regex string guava
is guava-libraries available in maven repo?

I am looking to find guava-libraries in maven repository. It looks like guava is adding more features to google-collections library.

java maven guava
Getting default value for primitive types

I have a Java primitive type at hand: Class<?> c = int.class; // or long.class, or boolean.class …

java reflection guava