guava
guava copied to clipboard
Google core libraries for Java
A few months ago, we pushed [a branch](https://github.com/google/guava/tree/jspecify-preview) annotated with [JSpecify 0.2.0](https://github.com/jspecify/jspecify/releases/tag/v0.2.0) [`@Nullable`](https://javadoc.io/static/org.jspecify/jspecify/0.2.0/org.jspecify/org/jspecify/nullness/Nullable.html) and [`@NullMarked`](https://javadoc.io/static/org.jspecify/jspecify/0.2.0/org.jspecify/org/jspecify/nullness/NullMarked.html) annotations. This may be useful to authors of tools who want to consume those annotations...
Hello again from Gradle 👋 The following is a suggestion open for discussion. I provide this as a PR, instead of an issue only, as a proof of concept to...
Add `Suppliers.memoizeWithExpiration(Supplier, Duration)`. RELNOTES=Add `Suppliers.memoizeWithExpiration(Supplier, Duration)`.
# IMPORTANT NOTE **Updating to Guava 30.0 does not fix this security vulnerability**. The method is merely deprecated. There currently exits no fix for this vulnerability. https://github.com/google/guava/issues/4011#issuecomment-765672282 --- Since the...
_[Original issue](https://code.google.com/p/guava-libraries/issues/detail?id=10) created by **sberlin** on 2007-09-24 at 06:12 PM_ --- This is a contribution of LimeWire's PatriciaTrie, as discussed at: http://groups.google.com/group/google- guice/browse_frm/thread/ffb2a3b3b9e39e79?tvc=1 . The files can be licensed as...
We're seeing some evidence that people are interpreting the current text as "You should always choose `Stream` over `Iterables`" and even as "`Iterables` is effectively deprecated." I don't remember all...
Fixes : #5842 This feature provide the stopTimers for the defined services in the ServiceManager somewhat similar to the com.google.common.util.concurrent.ServiceManager.ServiceManagerState#startupTimers.
Consider providing `ServiceManager.stopTimes()` to enable debugging slow ServiceManager shutdowns. There currently exists `serviceManager.startupTimes()` for startup time, this would be the equivalent for the shutdown process.
Fixes #5284
I am using the LoadingCache in a highly concurrent system and I observed some behavior that I am not sure is intended (to me it looks like a bug :)...