Nerd4j Core

Basic beans and utilities.

License

License

GroupId

GroupId

org.nerd4j
ArtifactId

ArtifactId

nerd4j-core
Last Version

Last Version

1.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

Nerd4j Core
Basic beans and utilities.
Project Organization

Project Organization

Nerd4j
Source Code Management

Source Code Management

https://github.com/nerd4j/nerd4j-core

Download nerd4j-core

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.2

Project Modules

There are no modules declared in this project.

nerd4j-core

Core library with classes that represent concepts common to all nerd4j projects but also generic enough to be used in any code.

Content of this library

The classes of this library are divided into several concepts:

  • Concurrent: currently contains just the class KeyLock that handles the lock and release of a pool of resources.
  • Converter: classes and interfaces for the conversion of simple data beans (POJOs) from one format to another.
  • Exception: currently contains just the class DataConsistencyException that represents a failure in checking data consistency performed by the utility class DataConsistency.
  • Format: contains an abstract class and the reflection support needed to autogenerate the toString() method of a data bean using the @Formatted annotation on the fields that you want to print.
  • Lang: useful classes that are missing in the package java.lang.
  • Net: currently contains just the class IPv4Address that represents a lightweight and compatible version of java.net.InetAddress.
  • Time: useful classes to deal with java.util.Date and java.util.Calendar.
  • Util: utility classes like the Require checker that allows to make assertions on data fields, the HashCoder that provides an easy way to generate hashcodes from the internal fields of a bean, the CommandIterator that allows to apply the same operation to all the items of a collection or an array.

This library is also available on Maven Central [here] (http://search.maven.org/#artifactdetails|org.nerd4j|nerd4j-core|1.1.1|jar "Maven Central: nerd4j-core") and can be used with the following dependecy declaration:

<dependency>
 <groupId>org.nerd4j</groupId>
 <artifactId>nerd4j-core</artifactId>
 <version>1.1.1</version>
</dependency>

Versions

Version
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0