guava
guava copied to clipboard
Google core libraries for Java
I'm using EventBus in in distributed system. I found that com.google.common.eventbus.Subscriber lost tracting infomation. Because com.google.common.eventbus.Subscriber#dispatchEvent is a final method, I can't extend it. ``` /** Dispatches {@code event} to...
I've noticed that `Iterators.mergeSorted()` is unstable. So for example if I have arrays: `[A_1, B_1, C_1]` `[A_2, B_2, C_2]` (where the comparator looks only at the letter), I'd like the...
In #3284 several classes in `com.google.common.hash` were promoted from `@Beta`, most notably `Hashing` and `HashFunction`. @netdpb also mentioned there was a review of _"all @Beta APIs with the intention of...
Annotate a safe racy initialization with `@LazyInit`. This makes TSAN happy. Compare the other `@LazyInit` field in the class, added in cl/273585560 (and others in other classes). RELNOTES=n/a
Mark some tests that don't pass under Android as `@AndroidIncompatible`.
Make testSupplierThreadSafe private. RELNOTES=n/a
Internal changes RELNOTES=n/a
Add `@since NEXT` for `Ints.rotate`. RELNOTES=n/a
Removed the Beta annotations from Longs#tryParse and Ints#tryParse. These methods have been in beta since versions 14.0 and 19.0 respectively, while their code hasn't changed in over 7 years. It's...
Migrate the `primitives` tests to Truth. RELNOTES=n/a