Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lindar-open/acolyte

Acolyte is a utility library, used by the entire Lindar ecosystem, that helps developers reach their goals and dreams a wee bit faster. Try it yourself today!
https://github.com/lindar-open/acolyte

Last synced: 5 days ago
JSON representation

Acolyte is a utility library, used by the entire Lindar ecosystem, that helps developers reach their goals and dreams a wee bit faster. Try it yourself today!

Awesome Lists containing this project

README

        

# acolyte
Acolyte is a utility library, used by entire Lindar ecosystem, that helps developers reach their goals and dreams a wee bit faster. Try it yourself today!

**NOTE: Acolyte has been rewritten in Kotlin and it's still 100% compatible with Java!**

Util classes:

- ObjectsAcolyte:
- **copy**: copies two objects by copying the variables with same name and type. This is useful when you want to create a clone of the database model but one that matches your view's needs.
- **listAllVariablesWithGetters**: returns all public variables that have a getter including the inherited ones
- **objectNullOrEmpty**: check if an object is null and if collection and not null it will also check if it's empty

- ListsAcolyte
- **listContainsIgnoreCase**: check if list contains a string param and ignores the case
- **listIsEmpty** and **listIsNotEmpty**: check if a list is null and empty or not null and not empty

- NumbersAcolyte
- **numberNullOrZero** and **numberGreaterThanZero**: check if number is null or equal to zero or number not null and greater than zero. Supports any number (extends Number) including BigDecimal, BigInteger, etc

- BigDecimalAcolyte
- NumberFormatterAcolyte: helpful with formatting numbers and money
- PasswordValidator
- UsernameValidator

Usage:

```xml

com.lindar
acolyte
1.3.4

```

Last version written in Java was:

```xml

com.lindar
acolyte
1.1.2

```