guava
Filtering Guava HashMultimap keys by count
I have created a hash multi map of following type: key as a pair of string, string and value as long.[详细]
2023-04-07 19:47 分类:问答Lazy loading reference implementation
Being impressed by Guava\'s computing map feature, I\'m searching for a sort of \"computing reference开发者_StackOverflow\" - a lazy loading reference implementation that parallel\'s Guava\'s ease of[详细]
2023-04-07 02:08 分类:问答ListenableFutureTask / ExecutorService
I\'ve Guava in my Classpath and want to use ListenableFutures, but currently I don\'t know how to submit ListenableFutures or is it currently only possible to use them without an executor in the calli[详细]
2023-04-07 01:24 分类:问答Multithreading -- matching instances
I want to run two XPath-Expressions concurrently on two revisions of a database which both return results from an Iterator/Iterable and match resulting nodes with nodes in a List.[详细]
2023-04-06 14:44 分类:问答List of Future-Instances
I\'d like to replace a List of Future-Instances with something more performant. Currently I\'m traversing a tree and submit a Callable to determine the number of descendant-or-self nodes for each node[详细]
2023-04-02 07:46 分类:问答Compute custom cache size with Guava CacheBuilder/MapMaker
I would like to know if there is currently a way with Guava MapMaker or will be a way with CacheBuilder, to provide a function to compute whether the cache is within the maximum size?[详细]
2023-04-01 15:00 分类:问答Using Guava Collections2 transform method to work as Apache CollectionUtil.forAllDo
I\'ve read some post comparing Guava and Apache Commons, and 开发者_JAVA技巧most of the posters prefer using Guava.[详细]
2023-04-01 09:18 分类:问答Java: external class for determining equivalence?
Java has a Comparator<T> for providing comparison of objects external to the class itself, to allow for multiple/alternate methods of doing ordered co开发者_StackOverflowmparisons.[详细]
2023-03-31 20:21 分类:问答Can I evaluate variable in predicate apply method?
Irecently work on a project that heavily usingcollection filter function provided by Guava,but I found something like this won\'tproduce the expected behavior:[详细]
2023-03-31 13:06 分类:问答Why does it.next() throw java.util.ConcurrentModificationException?
final Multimap<Term, BooleanClause> terms = getTerms(bq); for (Term t : terms.keySet()) { Collection<BooleanClause> C = new HashSet(terms.get(t));[详细]
2023-03-31 10:07 分类:问答