A set of utils that can help in app development
- Java 11+
Licensed under the Apache 2.0 License
- Mercator(EPSG:3857) to WSG84 convertor
- WSG84 to Mercator(EPSG:3857) convertor
- Distance calculation between two WSG84 points
- Collectors for Java streams
- Null-safe methods to work with collections
- Optional providers for different situations
- Functional utility methods
- Null-safe methods to work with Strings
- Methods that can help work with objects
- Methods that can help work with booleans
- Methods that can help work with dates
- Methods that can help with computations
- Methods that can help with numbers
- Methods that can provide some random values or randomize arrays
- TriConsumer
- TriFunction
- TriPredicate
- QuadConsumer
- QuadFunction
- QuadPredicate
- Single
- Tuple
- Triple
- List builder
- Set builder
- Map builder
- Transformer
- XBuilder
- Closeable wrapper for temporary files that can be used with try-with-resources
- Binary-to-text encoding. Based on charset variant of Douglas Crockford, without check
- Binary-to-text encoding. Character set includes all uppercase and lowercase letters except for "0", "O", "I", and "l" to improve human readability.
- Binary-to-text encoding. Resulting data is ~25% bigger than source, while base64 is typically ~33%. Description can be found here
- Binary-to-text encoding inspired by idea and JS library of Kevin Albertson. Resulting data is ~13% bigger than source, while base64 is typically ~33%
Just add this to your pom.xml
<dependency>
<groupId>com.hijackermax</groupId>
<artifactId>utils</artifactId>
<version>0.1.3</version>
</dependency>