简体   繁体   English

如何下载用于Netbeans的Guava库?

[英]How to download Guava Libraries for Netbeans?

I want to use Guava TreeMultiset data structure in my java program. 我想在Java程序中使用Guava TreeMultiset数据结构。 I use netbeans to code my program. 我使用netbeans编写程序。 However, I am a beginner and I don't know how I can include and import Guava libraries in netbeans. 但是,我是一个初学者,我不知道如何在netbeans中包括和导入Guava库。 I've searched the web, but things were not clear to me. 我已经在网上搜索了,但对我来说还不清楚。

Can anyone please tell me how I can use Guava in Netbeans? 谁能告诉我如何在Netbeans中使用番石榴?

Any help is appreciated. 任何帮助表示赞赏。

Thank you. 谢谢。

If you are using maven, right click on dependencies and select add dependency, then search for guava. 如果使用的是maven,请右键单击依赖项并选择添加依赖项,然后搜索番石榴。

If it is a standard project, right click on libraries and then add library, then add the jar for guava manually 如果是标准项目,请右键单击库,然后添加库,然后手动添加用于番石榴的jar

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM