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

标签 java apache-commons-lang

我多年来一直使用 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/

相关文章:

java - 如何根据条件返回 map 的键?

java - RecursiveToStringStyle 和 JSON_STYLE 如何使用 commons-lang3

java - 如何将 commons-lang src 安装到本地存储库?

java - 返回 StringBuilder 或 StringBuffer 的 StringUtils.replaceEach?

java - 在 jexcelapi 中抓取非英文字符

java - Apache Commons ObjectUtils equals 方法测试什么样的相等性?

java - txt文件中的数据被覆盖

java - 如何在 Eclipse 中添加新的 Findbug 规则或导入一组规则

java - 如何检查未知数量的输入 java 并在行尾停止检查

java - 检门可装载可拆卸模型的工作原理