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!

License

License

GroupId

GroupId

com.lindar
ArtifactId

ArtifactId

acolyte
Last Version

Last Version

1.5.0
Release Date

Release Date

Type

Type

jar
Description

Description

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!
Project URL

Project URL

http://www.lindar.com/
Source Code Management

Source Code Management

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

Download acolyte

How to add to project

<!-- https://jarcasting.com/artifacts/com.lindar/acolyte/ -->
<dependency>
    <groupId>com.lindar</groupId>
    <artifactId>acolyte</artifactId>
    <version>1.5.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.lindar/acolyte/
implementation 'com.lindar:acolyte:1.5.0'
// https://jarcasting.com/artifacts/com.lindar/acolyte/
implementation ("com.lindar:acolyte:1.5.0")
'com.lindar:acolyte:jar:1.5.0'
<dependency org="com.lindar" name="acolyte" rev="1.5.0">
  <artifact name="acolyte" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.lindar', module='acolyte', version='1.5.0')
)
libraryDependencies += "com.lindar" % "acolyte" % "1.5.0"
[com.lindar/acolyte "1.5.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.3.72
org.jetbrains.kotlin : kotlin-reflect jar 1.3.72
io.github.microutils : kotlin-logging jar 1.7.8

test (2)

Group / Artifact Type Version
junit : junit jar 4.13
org.projectlombok : lombok jar 1.18.12

Project Modules

There are no modules declared in this project.

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:

<dependency>
    <groupId>com.lindar</groupId>
    <artifactId>acolyte</artifactId>
    <version>1.3.4</version>
</dependency>

Last version written in Java was:

<dependency>
    <groupId>com.lindar</groupId>
    <artifactId>acolyte</artifactId>
    <version>1.1.2</version>
</dependency>
com.lindar

Lindar Media

All our open-source projects in one place

Versions

Version
1.5.0
1.4.3
1.4.2
1.3.16
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.0
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0