Project icon

com.io7m.jequality

Build status Maven Central Codecov

The jequality package implements a set of functions, types, and annotations for dealing with equality in Java.

Contents

Features

  • Functions for performing approximate comparisons of floating point values
  • Annotations for indicating what type of equality a class uses, with a validator to check correctness
  • OSGi-ready
  • JPMS-ready
  • ISC license

Releases

The most recently published version of the software is 3.0.1.

Source code and binaries are available from the repository.

Documentation

Documentation for the 3.0.1 release is available for reading online.

Documentation for current and older releases is archived in the repository.

User documentation

See the README.

Maven

The following is a complete list of the project's modules expressed as Maven dependencies:

<dependency>
  <groupId>com.io7m.jequality</groupId>
  <artifactId>com.io7m.jequality</artifactId>
  <version>3.0.1</version>
</dependency>

<dependency>
  <groupId>com.io7m.jequality</groupId>
  <artifactId>com.io7m.jequality.core</artifactId>
  <version>3.0.1</version>
</dependency>

<dependency>
  <groupId>com.io7m.jequality</groupId>
  <artifactId>com.io7m.jequality.tests</artifactId>
  <version>3.0.1</version>
</dependency>

Each release of the project is made available on Maven Central within ten minutes of the release announcement.

Changes

Subscribe to the releases atom feed.

2024-05-08 Release: com.io7m.jequality 3.0.1
2024-05-08 Change: Move to new organization.
2024-05-08 Release: com.io7m.jequality 3.0.0
2022-04-09 Change: (Backwards incompatible) Require JDK 17
2017-11-04 Release: com.io7m.jequality 2.0.0
2017-11-04 Change: (Backwards incompatible) Require JDK 9 and publish a Java 9 module.
2017-11-04 Change: (Backwards incompatible) Remove com.io7m.jnull dependency.
2017-04-06 Release: com.io7m.jequality 1.0.5
2017-04-06 Change: Rename project. Use the new primogenitor POM and 2017 project conventions.
2016-08-03 Release: com.io7m.jequality 1.0.4
2016-08-03 Change: Correct OSGi exports.
2016-08-03 Release: com.io7m.jequality 1.0.3
2016-08-03 Change: Update POM files to 2016 standards. Update plugins.
2016-08-03 Change: The packaged jar is now an OSGi bundle.
2016-08-03 Change: (Backwards incompatible) The package will no longer compile on JDK 6 due to Checkstyle, but the compiled code is still JDK 6 compatible.
2015-08-09 Release: com.io7m.jequality 1.0.2
2015-08-09 Change: Migrate to GitHub.
2014-12-03 Change: Fix javadoc comments for Java 8's doclint.
2014-12-03 Change: Ensure source jars for unit tests are created.
2014-07-01 Release: com.io7m.jequality 1.0.1
2014-07-01 Change: The structural equality validator was too strong (falsely claimed subtypes did not implement structural equality). (tickets: 7ca0cc21f418 )
2014-06-22 Release: com.io7m.jequality 1.0.0
2014-06-22 Change: Initial release.

Sources

This project uses Git to manage source code.

Repository: https://www.github.com/io7m-com/jequality

$ git clone https://www.github.com/io7m-com/jequality

License

Copyright © 2024 Mark Raynsford <code@io7m.com> https://www.io7m.com

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Bug Tracker

The project uses GitHub Issues to track issues.