gpt4 book ai didi

java - 为什么apache commons lang是 "lang",lang代表语言吗?

转载 作者:行者123 更新时间:2023-12-02 01:10:02 25 4
gpt4 key购买 nike

我多年来一直使用 apache commons lang lib 作为我最喜欢的第 3 方库,但我不太明白其名称中“lang”的含义。昨天我想我需要再试一次。我尝试谷歌搜索一段时间并阅读了其所有官方website ,仍然没有运气。有人知道我的问题的答案吗?

最佳答案

Apache Commons页面说:

Lang: Provides extra functionality for classes in java.lang.

您提供给 Apache Commons Lang 的链接页面说:

Lang provides a host of helper utilities for the java.lang API, notably String manipulation methods, basic numerical methods, object reflection, concurrency, creation and serialization and System properties. Additionally it contains basic enhancements to java.util.Date and a series of utilities dedicated to help with building methods, such as hashCode, toString and equals.

因此,要回答您的问题“其名称中的“lang”的含义是什么?”,答案是:
“Lang”指的是核心java包java.lang

<小时/>

作为引用,包java.lang的javadoc说:

Provides classes that are fundamental to the design of the Java programming language.

关于java - 为什么apache commons lang是 "lang",lang代表语言吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59539117/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com