guava
51,922
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Java
语言
创建时间
最近更新
项目能做什么
Google 官方推出的 Java 核心基础类库与扩展工具集合。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Guava: Google Core Libraries for Java
[](https://github.com/google/guava/releases/latest)
[](https://github.com/google/guava/actions/workflows/ci.yml)
[](https://www.bestpractices.dev/projects/7197)
Guava is a set of core Java libraries from Google that includes new collection
types (such as multimap and multiset), immutable collections, a graph library,
and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
is widely used on most Java projects within Google, and widely used by many
other companies as well.
Guava comes in two flavors:
* The JRE flavor requires JDK 1.8 or higher.
* If you need support for Android, use
[the Android flavor](https://github.com/google/guava/wiki/Android). You can
find the Android Guava source in the [`android` directory].
[`android` directory]: https://github.com/google/guava/tree/master/android
## Adding Guava to your build
Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
for use on Android or by any library that wants to be compatible with Android.
These flavors are specified in the Maven version field as either `33.8.0-jre` or
`33.8.0-android`. For more about depending on Guava, see
[using Guava in your build].
To add a dependency on Guava using Maven, use the following:
```xml
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.8.0-jre</version>
<!-- or, for Android: -->
<version>33.8.0-android</version>
</dependency>
```
To add a dependency using Gradle:
```gradle
dependencies {
// Pick one:
// 1. Use Guava in your implementation only:
implementation("com.google.guava:guava:33.8.0-jre")
// 2. Use Guava types in your public API:
api("com.google.guava:guava:33.8.0-jre")
// 3. Android - Use Guava in your implementation only:
implementation("com.google.guava:guava:33.8.0-android")
// 4. Android - Use Guava types in your public API:
api("com.google.guava:guava:33.8.0-android")
}
```
For more information on when to use `api` and when to use `implementation`,
consult the
[Gradle documentation on API and implementation separation](https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_separation).
## Snapshots and Documentation
We no longer publish binary snapshot releases to Sonatype's Maven Central, only
versioned releases.
We continue to publish snapshot *documentation*
([API Javadoc][guava-snapshot-api-docs] and
[API Diffs][guava-snapshot-api-diffs]), and we encourage you to refer and link
to the snapshot Javadoc rather than to that of specific releases.
An easy way to get to the snapshot Javadoc is to open
[guava.dev/api](https://guava.de
阅读完整原文
商业机会分析 规则生成(AI 未配置)
综合评分 38.4 分。该项目在“个人可实施性”维度得 37 分,“付费可能性”维度得 20.0 分,差异化空间 40.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 guava 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| square/otto | 中文介绍暂未生成 An enhanced Guava-based event bus with emphasis on Android s |
5,108 | Java |
| immutables/immutables | 中文介绍暂未生成 Java annotation processor to create immutable objects and bu |
3,575 | Java |
| zaiyunduan123/springboot-seckill | 中文介绍暂未生成 :racehorse:基于SpringBoot + MySQL + Redis + RabbitMQ + Guava开发 |
3,294 | Java |
| EhsanTang/ApiManager | 中文介绍暂未生成 CRAP - 开源API接口管理平台 | 完全开源、免费使用的API接口管理系统、BUG管理系统:API接口管理、文档管 |
2,412 | Java |
| qiurunze123/threadandjuc | 中文介绍暂未生成 ⭐⭐⭐⭐高并发-高可靠-高性能three-high-import导入系统-高并发多线程进阶 |
2,159 | Java |
| rholder/guava-retrying | 中文介绍暂未生成 This is a small extension to Google's Guava library to allow |
1,458 | Java |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 ,发布过 62 个 Release |
| 社区活跃 | Star 51,922 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/google/guava.git cd guava # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。