guava
                                
                                
                                
                                    guava copied to clipboard
                            
                            
                            
                        Google core libraries for Java
Currently, you can't call the public CompactHashMap.create() or CompactHashMap.createWithInitialSize() methods (or the CompactLinkedHashMap variants) because the classes themselves are private. In order to use the classes, I think they should...
`LineReader` currently only has the `readLine()` method. However, already since Java 8 there's [`lines()`](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/io/BufferedReader.html#lines()), too. Not to mention that it'd be nice to also maybe have `readAllLines()` and maybe even...
Here is the issue https://github.com/google/guava/issues/6067
The code of `ConsumingQueueIterator` is not thread safe because it is not using an atomic operation in `computeNext` we have this stacktrace once in our whole cluster ``` java.util.NoSuchElementException: null...
I often write code of the flavor: `log.info("Array items: [{}]", Joiner.on(",").join(array))`. This code is somewhat brittle for extremely long lists, but I have no convenient way to truncate the list...
Internal change.
# Problem When you have a method returning an entry there is currently no good way to insert this entry into a `Multimap` without using a local variable. This is...
I'm looking at the changes in 31.0 for enhanced null-checking, and I'm trying to validate that my understanding of the change is correct and bring attention to some issues I...
Most of the typos are located in Javadoc and comments. The remaining typo were located in some test class names, some test method names, and some variable names. The code...
New child of EventBus that uses immediate Dispatcher, which isn't used in any impl as of now.