commons-network

IP network related classes

License

License

Categories

Categories

Net
GroupId

GroupId

com.oneandone
ArtifactId

ArtifactId

commons-network
Last Version

Last Version

0.14.0
Release Date

Release Date

Type

Type

jar
Description

Description

commons-network
IP network related classes
Project URL

Project URL

https://github.com/1and1/commons-network
Project Organization

Project Organization

1&1 Ionos SE
Source Code Management

Source Code Management

https://github.com/1and1/commons-network

Download commons-network

How to add to project

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

Dependencies

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.6.2
org.hamcrest : hamcrest-library jar 2.2
org.sonarsource.java : sonar-jacoco-listeners jar 5.14.0.18788

Project Modules

There are no modules declared in this project.

Commons Network

Travis CI Codacy Badge Codacy Badge Maven Central javadoc ReleaseDate License

A library of IP network representation classes, like

Prerequisites

  • Java 8 or later
  • Maven 3.6 or later

Design Goals

The following are the key design goals:

  • Test-coverage: Have well-tested classes. Test coverage is at the moment at 95% line-coverage.
  • Immutability: Have immutable classes where possible to support usage in a multi-threaded environment.
  • Performance: Have simple, well-performing implementations.
  • Simplicity: Have simple implementations where possible.
  • No dependencies: Do not require dependencies for the core cases.
  • Fail-fast: If you enter illegal data, you'll get an exception. The invariant of all objects is to contain no illegal or null data.
  • No I/O: In contrast to the InetAddress class in JDK, these classes are just model classes.

Usage

You can include commons-network as a Maven dependency from Maven Central.

Maven dependency

<dependency>
    <groupId>com.oneandone</groupId>
    <artifactId>commons-network</artifactId>
    <version>0.14.0</version>
</dependency>

Documentation of provided classes and methods

The JavaDoc documentation can be found here.

Version schema

The version numbers are chosen according to the semantic versioning schema. Especially major version changes come with breaking API changes.

com.oneandone

1&1

Open Source by 1&1 Group.

Versions

Version
0.14.0
0.13.1
0.13.0
0.12.0
0.11.1
0.11.0
0.10.0
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2