apache-commons-lang
####This Lang API is an extension to the java.lang package. https://wiki.apache.org/commons/Lang ###Lang aims to provide: Comprehensive String handling utilities Enumerated types (pre JDK 1.5) Nested exceptions (pre JDK 1.4) Builders to create hashCode, equals, toString and compareTo methods Utilities for Object, Date and Numbers 这里的工具类太多了,主要就是各个对象的基本操作. ###依赖 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.5</version> </dependency> ###代码示例: import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import