Google's Core Java Library for Java and Android development.
I recently learnt about the benefits of EnumMap in Java and would like to replace the existing ImmutableMap<OccupancyType, …
java immutability guava enum-mapIs there a flatten method in Guava - or an easy way to convert an Iterable<Iterable<T&…
java collections guava flattenIs there any way to suppress this warning: MyClass object = null; /*Some code that 'might' set this object but I …
intellij-idea nullpointerexception guava inspectionSummary pretty much says it all. Here's the relevant snippet of code in ImmutableList.createFromIterable(): if (element == null) { throw new …
java collections guavaConsider this example which prints out some device type stats. ("DeviceType" is an enum with a dozenish values.) Multiset<…
java guava multisetThe com.google.common.base.Function interface (from Google Guava) defines apply as: @Nullable T apply(@Nullable F input); The …
java guava findbugsI am trying to use WorkManager 1.0.0-alpha09. and getting this error: Program type already present: com.google.common.util.concurrent.…
java android guava android-workmanagerfinal Multimap<Term, BooleanClause> terms = getTerms(bq); for (Term t : terms.keySet()) { Collection<BooleanClause> C = new …
java collections guava multimap concurrentmodificationSuppose to have a two-characters String, which should represent the ISO 639 country or language name. You know, Locale class has …
java validation guava apache-commons iso