Project icon

com.io7m.jregions

Build status Maven Central Codacy Codecov

The jregions package provides a set of immutable area types.

Contents

Features

  • Extensive set of functions for scaling, aligning, moving boxes.
  • 100% automated unit test coverage.
  • OSGi-ready.
  • JPMS-ready
  • ISC license.

Releases

The current release is 2.0.0.

Source code and binaries are available from the repository.

Documentation

Documentation for the 2.0.0 release is available for reading online.

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

User documentation

Maven

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

<dependency>
  <groupId>com.io7m.jregions</groupId>
  <artifactId>com.io7m.jregions</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jregions</groupId>
  <artifactId>com.io7m.jregions.checkstyle</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jregions</groupId>
  <artifactId>com.io7m.jregions.core</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jregions</groupId>
  <artifactId>com.io7m.jregions.documentation</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jregions</groupId>
  <artifactId>com.io7m.jregions.generators</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jregions</groupId>
  <artifactId>com.io7m.jregions.tests</artifactId>
  <version>2.0.0</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.

2017-12-07 Release: com.io7m.jregions 2.0.0
2017-12-07 Change: (Backwards incompatible) Removed dependency on com.io7m.jnull
2017-12-07 Change: (Backwards incompatible) All modules are now Java 9 modules. JDK 9 is now required.
2017-05-06 Release: com.io7m.jregions 1.1.0
2017-05-06 Change: Add splitAlongXY method for dividing areas into quadrants.
2017-05-07 Change: Stop using terms such as "horizontally", "vertically", "width", "height", etc. Deprecate methods and add replacements. (tickets: 11)
2017-05-06 Change: Add volume types. (tickets: 9)
2017-05-08 Change: Fix overlaps() for areas and volumes. (tickets: 12 14)
2017-05-08 Change: Fix contains() for areas and volumes. (tickets: 13)
2017-04-16 Release: com.io7m.jregions 1.0.0
2017-04-16 Change: Initial public API release.
2017-04-09 Release: com.io7m.jregions 0.0.6
2017-04-09 Change: Add convenient methods to construct areas from sizes. (tickets: 8)
2017-04-08 Release: com.io7m.jregions 0.0.5
2017-04-08 Change: Use primogenitor 1.0.2. Use newest versions of core io7m libraries.
2017-03-13 Release: com.io7m.jregions 0.0.4
2017-03-13 Change: Use primogenitor 0.0.7.
2017-03-09 Release: com.io7m.jregions 0.0.3
2017-03-08 Change: Add common "value" interfaces. (tickets: 1)
2017-03-08 Change: Add missing float and BigDecimal generators and tests. (tickets: 4)
2017-03-08 Change: Add type conversion methods. (tickets: 3)
2017-03-08 Change: Allow areas to be treated as area sizes. (tickets: 5)
2017-03-09 Change: Add methods to return sizes from areas. (tickets: 2)
2017-03-08 Release: com.io7m.jregions 0.0.2
2017-03-08 Change: Use primogenitor 0.0.6.
2017-03-08 Release: com.io7m.jregions 0.0.1
2017-03-08 Change: Initial release.

Sources

This project uses Git to manage source code.

Repository: https://github.com/io7m/jregions

$ git clone https://github.com/io7m/jregions

License

Copyright ⓒ 2017 Mark Raynsford <code@io7m.com> http://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.