A recommended Java open source toolkit that programmers can't put down

Official address: https://www.hutool.cn, its Slogan is "A set of tools that keep Java sweet", one that makes Java sweet, it sounds sweet, but I don’t know how it tastes. .

A recommended Java open source toolkit that programmers can't put down

 

This is developed by several domestic Java developers in their spare time. Now there are 13K stars on github and 10.3K stars on gitee. It seems that many people use it. First of all, I would like to thank several people for sharing, which has provided convenience to many colleagues.

Hutool is a Java toolkit, it is just a toolkit, it helps us simplify every line of code, reduce every method, so that the Java language can also be "sweet". Hutool was originally a compilation of the "util" package in my project. Later, I gradually accumulated and added more non-business-related functions, and extensively learned the essence of other open source projects. After finishing and modifying by myself, I finally formed a rich open source tool set.

  • Web development
  • No coupling with other frameworks
  • Highly replaceable

For example, the email sending API shown in the animation below is quite simple to use.

A recommended Java open source toolkit that programmers can't put down

 

The design idea of ​​Hutool is to minimize the repetitive definitions and make the util package in the project as few as possible. In general, there are the following ideas:

  • Methods take precedence over objects
  • Automatic recognition is better than user-defined
  • Convenience and flexibility coexist
  • Adaptation and compatibility
  • Optional dependency principle
  • Non-intrusive principle

A recommended Java open source toolkit that programmers can't put down

 

Hutool is like a toolkit container, which contains many things, such as date processing, collection operations, DB operations, log operations, and even functions like bloom filters, the tools mentioned in my article The functions of the package are basically included.

A recommended Java open source toolkit that programmers can't put down

 

Introduction of components and functions

To be honest, I also have a similar util tool set, which contains many simple and easy-to-use APIs that I have packaged and accumulated over the years, but it is not as comprehensive as Hutool. Presumably the author has also devoted a lot of spare time and devoted a lot of effort. Inside, it must be supported.

Most companies will also have their own core toolkits, or specify which toolkits to use. Of course, there is no way in this case. If you can be the master, Hutool is an open source package that is worth using.

Guess you like

Origin blog.csdn.net/GYHYCX/article/details/108802773