"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.
Optional<T>
extracted from GuavaMoreObjects
from GuavaObjectArrays
from GuavaPreconditions
from Guava- Annotations, some of them migrated from Arrow and Guava:
@Beta
@Experimental
@Issue
@NeedsTest
@Refactor
@VisibleForTesting
@WorkInProgress
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'