[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-666":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},666,"guava","google\u002Fguava","google","Google core libraries for Java","https:\u002F\u002Fguava.dev\u002F",null,"Java",51474,11137,2322,619,0,7,17,45,"Apache License 2.0",false,"master",true,[5,25],"java","2026-06-12 02:00:16","# Guava: Google Core Libraries for Java\n\n[![GitHub Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fgoogle\u002Fguava)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Freleases\u002Flatest)\n[![CI](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Factions\u002Fworkflows\u002Fci.yml)\n[![OpenSSF Best Practices](https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F7197\u002Fbadge)](https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F7197)\n\n\n\nGuava is a set of core Java libraries from Google that includes new collection\ntypes (such as multimap and multiset), immutable collections, a graph library,\nand utilities for concurrency, I\u002FO, hashing, primitives, strings, and more! It\nis widely used on most Java projects within Google, and widely used by many\nother companies as well.\n\n\n\nGuava comes in two flavors:\n\n*   The JRE flavor requires JDK 1.8 or higher.\n*   If you need support for Android, use\n    [the Android flavor](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Fwiki\u002FAndroid). You can\n    find the Android Guava source in the [`android` directory].\n\n[`android` directory]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Ftree\u002Fmaster\u002Fandroid\n\n## Adding Guava to your build\n\nGuava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.\nGuava provides two different \"flavors\": one for use on a (Java 8+) JRE and one\nfor use on Android or by any library that wants to be compatible with Android.\nThese flavors are specified in the Maven version field as either `33.6.0-jre` or\n`33.6.0-android`. For more about depending on Guava, see\n[using Guava in your build].\n\nTo add a dependency on Guava using Maven, use the following:\n\n```xml\n\u003Cdependency>\n  \u003CgroupId>com.google.guava\u003C\u002FgroupId>\n  \u003CartifactId>guava\u003C\u002FartifactId>\n  \u003Cversion>33.6.0-jre\u003C\u002Fversion>\n  \u003C!-- or, for Android: -->\n  \u003Cversion>33.6.0-android\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n\nTo add a dependency using Gradle:\n\n```gradle\ndependencies {\n  \u002F\u002F Pick one:\n\n  \u002F\u002F 1. Use Guava in your implementation only:\n  implementation(\"com.google.guava:guava:33.6.0-jre\")\n\n  \u002F\u002F 2. Use Guava types in your public API:\n  api(\"com.google.guava:guava:33.6.0-jre\")\n\n  \u002F\u002F 3. Android - Use Guava in your implementation only:\n  implementation(\"com.google.guava:guava:33.6.0-android\")\n\n  \u002F\u002F 4. Android - Use Guava types in your public API:\n  api(\"com.google.guava:guava:33.6.0-android\")\n}\n```\n\nFor more information on when to use `api` and when to use `implementation`,\nconsult the\n[Gradle documentation on API and implementation separation](https:\u002F\u002Fdocs.gradle.org\u002Fcurrent\u002Fuserguide\u002Fjava_library_plugin.html#sec:java_library_separation).\n\n## Snapshots and Documentation\n\nSnapshots of Guava built from the `master` branch are available through Maven\nusing version `999.0.0-HEAD-jre-SNAPSHOT`, or `999.0.0-HEAD-android-SNAPSHOT`\nfor the Android flavor.\n\n[Snapshot API Javadoc][guava-snapshot-api-docs] as well as\n[Snapshot API Diffs][guava-snapshot-api-diffs] are also available.\n\nAnother easy way to get to the Javadoc is to open\n[guava.dev\u002Fapi](https:\u002F\u002Fguava.dev\u002Fapi). You can also jump right to a specific\nclass by appending the class name to guava.dev. For example,\n[guava.dev\u002FImmutableList](https:\u002F\u002Fguava.dev\u002FImmutableList)!\n\n## Learn about Guava\n\n-   Our users' guide, [Guava Explained]\n-   [A nice collection](https:\u002F\u002Fwww.tfnico.com\u002Fpresentations\u002Fgoogle-guava) of\n    other helpful links\n\n## Links\n\n-   [GitHub project](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava)\n-   [Issue tracker: Report a defect or feature request](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Fissues\u002Fnew)\n-   [StackOverflow: Ask \"how-to\" and \"why-didn't-it-work\" questions](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Fask?tags=guava+java)\n-   [guava-announce: Announcements of releases and upcoming significant changes](https:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fguava-announce)\n-   [guava-discuss: For open-ended questions and discussion](https:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fguava-discuss)\n\n## IMPORTANT WARNINGS\n\n1.  APIs marked with the `@Beta` annotation at the class or method level are\n    subject to change. They can be modified in any way, or even removed, at any\n    time. If your code is a library itself (i.e., it is used on the CLASSPATH of\n    users outside your own control), you should not use beta APIs unless you\n    [repackage] them. **If your code is a library, we strongly recommend using\n    the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**\n\n2.  APIs without `@Beta` will remain binary-compatible for the indefinite\n    future. (Previously, we sometimes removed such APIs after a deprecation\n    period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even\n    `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no\n    plans to start removing things again, but officially, we're leaving our\n    options open in case of surprises (like, say, a serious security problem).\n\n3.  Guava has one dependency that is needed for linkage at runtime:\n    `com.google.guava:failureaccess:1.0.3`. It also has\n    [some annotation-only dependencies][guava-deps], which we discuss in more\n    detail at that link.\n\n4.  Serialized forms of ALL objects are subject to change unless noted\n    otherwise. Do not persist these and assume they can be read by a future\n    version of the library.\n\n5.  Our classes are not designed to protect against a malicious caller. You\n    should not use them for communication between trusted and untrusted code.\n\n6.  For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17\n    on Linux, with some additional testing on newer JDKs and on Windows. Some\n    features, especially in `com.google.common.io`, may not work correctly in\n    non-Linux environments. For the Android flavor, our unit tests also run on\n    API level 23 (Marshmallow).\n\n[guava-snapshot-api-docs]: https:\u002F\u002Fguava.dev\u002Freleases\u002Fsnapshot-jre\u002Fapi\u002Fdocs\u002F\n[guava-snapshot-api-diffs]: https:\u002F\u002Fguava.dev\u002Freleases\u002Fsnapshot-jre\u002Fapi\u002Fdiffs\u002F\n[Guava Explained]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Fwiki\u002FHome\n[Guava Beta Checker]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava-beta-checker\n\n\u003C!-- References -->\n\n[using Guava in your build]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Fwiki\u002FUseGuavaInYourBuild\n[repackage]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Fwiki\u002FUseGuavaInYourBuild#what-if-i-want-to-use-beta-apis-from-a-library-that-people-use-as-a-dependency\n[guava-deps]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002Fwiki\u002FUseGuavaInYourBuild#what-about-guavas-own-dependencies\n","Guava 是一套由 Google 开发的核心 Java 库，提供了多种新集合类型（如多映射和多重集）、不可变集合、图库以及并发、I\u002FO、哈希、基本类型、字符串等实用工具。其核心技术特点包括丰富的集合框架、高效的缓存机制、强大的函数式编程支持及易于使用的API。Guava 非常适合需要增强标准 Java 库功能的项目，无论是大型企业级应用还是小型个人项目，尤其在处理复杂数据结构与提高代码效率方面表现突出。此外，它还为 Android 平台提供了专门版本，确保了跨平台的一致性。",2,"2026-06-11 02:38:30","top_all"]