Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/lindar-open/acolyte
- Owner: lindar-open
- License: apache-2.0
- Created: 2016-11-03T16:02:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T18:13:17.000Z (8 months ago)
- Last Synced: 2024-03-27T03:59:05.110Z (8 months ago)
- Language: Kotlin
- Homepage:
- Size: 163 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
- UsernameValidatorUsage:
```xml
com.lindar
acolyte
1.3.4```
Last version written in Java was:
```xml
com.lindar
acolyte
1.1.2```