Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.66 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.66 KB

Toolbelt

Download

"So, you're a craftsman? As any craftsman you need your own toolbelt."

The Toolbelt library is just a set of utilities and classes extracted from popular libraries like Guava, Apache Commons, etc.

All this library and idea is inspired on on Fernando Cejas's Arrow library.

Why not fork it and make a pull request to Fernando's library?

Basically because i added some tools and classes, that i use in my daily work and i think they won't fit well in the original library.

All of 3rd party classes keep the original license header.


Main features

  • Optional<T> extracted from Guava
  • MoreObjects from Guava
  • ObjectArrays from Guava
  • Preconditions from Guava
  • Annotations, some of them migrated from Arrow and Guava:
    • @Beta
    • @Experimental
    • @Issue
    • @NeedsTest
    • @Refactor
    • @VisibleForTesting
    • @WorkInProgress

Installing

Using maven:

<dependency>
  <groupId>com.alexsimo</groupId>
  <artifactId>toolbelt</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

Using gradle:

compile 'com.alexsimo:toolbelt:1.0.0'