Top "Guava" questions

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

Is there a Guava equivalent to Apache Commons CircularFifoBuffer?

I need a data structure that can efficiently buffer a specific number of elements, in FIFO order. As mentioned in …

java collections guava apache-commons
In Futures.transform, what is the difference between using a Function and an AsyncFunction

I know that the apply method of Function returns an object synchronously, and the apply of AsyncFunction runs asynchronously and …

java guava future concurrent.futures
java.lang.ClassNotFoundException

I have a java project that I'm working on which was working until a few days ago. I'm not sure …

java eclipse guava google-finance-api
Using Google Guava to format Strings

I am using Google guava to format Strings and write them to a text file using BufferedWriter import com.google.…

java string guava pad
How to implement distributed rate limiter?

Let's say, I have P processes running some business logic on N physical machines. These processes call some web service …

guava distributed-computing apache-zookeeper rate-limiting apache-curator
Map that could be iterated in the order of values

I need a Map that could be iterated in the decreasing order of its values. Does any of the standard …

java collections map guava apache-commons
Library method to partition a collection by a predicate

I have a collection of objects that I would like to partition into two collections, one of which passes a …

java collections guava
How can I iterate through a Guava multimap to print out values as pairs

For each key in a Guava Multimap I need to take the corresponding values and make pairs with them that …

java iteration guava multimap
Is there a fast concat method for linked list in Java?

How can I concat two linked lists in O(1) with Java via jdk1.6, google or apache commons collection or whatever? …

java collections linked-list apache-commons guava
Guava ImmutableMap has noticeably slower access than HashMap

While working on a memory benchmark of some high-throughput data structures, I realized I could use an ImmutableMap with only …

java performance hashmap benchmarking guava