Watch
2
0
Fork
You've already forked jequality
0
null
  • Java 99.9%
  • CSS 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-31 20:36:32 +01:00
.forgejo Update workflows. 2026-07-31 18:42:54 +01:00
com.io7m.jequality.core Begin next development iteration. 2024-05-08 11:40:11 +00:00
com.io7m.jequality.tests Begin next development iteration. 2024-05-08 11:40:11 +00:00
src/site/resources Eliminate jstructural 2024-05-04 14:55:07 +00:00
.gitignore Update .gitignore. 2024-05-07 16:01:43 +00:00
.gitmodules Move to new organization. 2024-04-29 21:30:46 +00:00
doc7m-books.json Add doc7m-books.json 2026-07-31 18:36:45 +01:00
pom.xml Add missing work ID. 2026-07-31 20:36:32 +01:00
README-CHANGES.xml Mark release 3.0.1 2024-05-08 11:40:03 +00:00
README-LICENSE.txt Update LICENSE 2023-08-13 21:07:23 +00:00
README.in Set JDK 17, update README. 2024-05-08 10:44:31 +00:00
README.md Migrate project. 2026-06-27 10:09:32 +01:00
spotbugs-filter.xml Update to latest primogenitor 2018-05-20 22:22:02 +01:00

jequality

Maven Central Maven Central (snapshot) Java Version

com.io7m.jequality

jequality

The jequality package provides functions to compare floating-point numbers, annotations to mark classes as using specific types of equality, and a validator for equality methods.

Status

As the Java platform evolves, libraries that may have been necessary in the past can become unnecessary due to new platform features. If you were already using jequality, then you know what it does and why you were using it. If you aren't already using jequality, then you should not start.

This package is in maintenance mode and will not see any new functionality.

Use equalsverifier as a replacement for the jequality validator.

Use JDK 17 record types to eliminate a lot of the issues with equals() and hashCode().

Use JUnit 5 assertions to perform approximate equality checks of floating-point values in unit tests. Outside of unit tests, find some other way to compare numbers.

Features