- Mastering Java for Data Science
- Alexey Grigorev
- 209字
- 2021-07-02 23:44:35
Commons Lang
Apache Commons Lang is a set of utility classes that extend the java.util package and they make the life of a Java developer a lot easier by providing many little methods that solve common problems and save a lot of time.
To include external libraries in Java, we usually use Maven, which makes it very easy to manage dependencies. With Maven, the Apache Commons Lang library can be included using this dependency snippet:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
The library contains a lot of methods useful for general-purpose Java programming, such as making it easier to implement the equals and hashCode methods for objects, serialization helpers and others. In general, they are not very specific to data science, but there are a few helper functions that are quite useful. For example,
- RandomUtils and RandomStringUtils for generating data
- StringEscapeUtils and LookupTranslator for escaping and un-escaping strings
- EqualsBuilder and HashCodeBuilder for the fast implementation of equals and hashCode methods
- StringUtils and WordUtils for useful string manipulation methods
- the Pair class
For more information, you can read the documentation at https://commons.apache.org/lang.
The best way to see what is available is to download the package and see the code available there. Every Java developer will find a lot of useful things.
- Google Visualization API Essentials
- Spark大數據分析實戰
- Python廣告數據挖掘與分析實戰
- 大數據導論
- 數據結構與算法(C語言版)
- 大數據架構和算法實現之路:電商系統的技術實戰
- 數據庫技術及應用教程
- 企業級數據與AI項目成功之道
- 基于OPAC日志的高校圖書館用戶信息需求與檢索行為研究
- 大數據架構商業之路:從業務需求到技術方案
- IPython Interactive Computing and Visualization Cookbook(Second Edition)
- 大數據測試技術:數據采集、分析與測試實踐(在線實驗+在線自測)
- SOLIDWORKS 2018中文版機械設計基礎與實例教程
- Learning Ansible
- SQL Server 數據庫教程(2008版)