News
Filtering collections with Guava is fairly straightforward. The following code snippet demonstrates a simple example of this. A Set of String s is provided (not shown in the code snippet, but ...
The Set interface inherits its methods from Collection (java.util.Collection) and contains only those methods. In addition to sets, there are queues (java.util.Queue) and maps (java.util.Map).
One of the nasty little traps a Java developer can run into occurs when Collection.contains(Object) is not used with appropriate understanding. I demonstrate this potential trap in this post.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results