utility-library

Utility library for JAVA application

License

License

Categories

Categories

Ant Build Tools Utility General Purpose Libraries
GroupId

GroupId

com.github.hoantran-it.library
ArtifactId

ArtifactId

utility-library
Last Version

Last Version

1.6.8
Release Date

Release Date

Type

Type

jar
Description

Description

utility-library
Utility library for JAVA application
Project URL

Project URL

https://github.com/hoantran-it/utility-library
Source Code Management

Source Code Management

https://github.com/hoantran-it/utility-library/tree/master

Download utility-library

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.7
ch.qos.logback : logback-core jar 1.1.2
ch.qos.logback : logback-classic jar 1.1.2
com.google.code.gson : gson jar 2.6.2
commons-lang : commons-lang jar 2.6
org.apache.commons : commons-io jar 1.3.2
commons-io : commons-io jar 2.6

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Utility library

Utility library for Java application

Getting Started

Fork source code to get more detail or just adding maven dependency for usage.

Installing

Add below dependency to your maven project

<dependency>
    <groupId>com.github.hoantran-it.library</groupId>
    <artifactId>utility-library</artifactId>
    <version>1.0</version>
</dependency>

Sample use caces

Call api to sort a list object base on property field

import com.github.hoantran.lib.utility.comparison.CustomComparator;
import com.github.hoantran.lib.utility.sampledata.Developer;
import com.github.hoantran.lib.utility.sampledata.SampleDataCreation;
List<Developer> devList = SampleDataCreation.createDeveloperList();
Object[] propertyId = new Object[] { "name", "experienceYears" };
boolean[] ascending = new boolean[] { false, false };
Collections.sort(devList, new CustomComparator(propertyId, ascending));

Built With

  • Maven - Dependency Management

Versioning

For the versions available, see the maven repository or github release

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE.md file for details

Versions

Version
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6
1.5
1.4
1.3
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2
1.1.2
1.1
1.0