Skip to content

Commit

Permalink
Eliminate jstructural
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed May 4, 2024
1 parent 28cf908 commit 426a3ad
Show file tree
Hide file tree
Showing 15 changed files with 94 additions and 532 deletions.
18 changes: 12 additions & 6 deletions README-CHANGES.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?><c:changelog xmlns:c="urn:com.io7m.changelog:4.0" project="com.io7m.jinterp">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<c:changelog project="com.io7m.jinterp" xmlns:c="urn:com.io7m.changelog:4.0">
<c:releases>
<c:release date="2015-08-22T00:00:00+00:00" ticket-system="com.github.io7m.jinterp" version="1.0.0">
<c:release date="2015-08-22T00:00:00+00:00" is-open="false" ticket-system="com.github.io7m.jinterp" version="1.0.0">
<c:changes>
<c:change date="2015-08-22T00:00:00+00:00" summary="Initial release."/>
</c:changes>
</c:release>
<c:release date="2016-08-05T00:00:00+00:00" ticket-system="com.github.io7m.jinterp" version="1.0.1">
<c:release date="2016-08-05T00:00:00+00:00" is-open="false" ticket-system="com.github.io7m.jinterp" version="1.0.1">
<c:changes>
<c:change date="2016-08-05T00:00:00+00:00" summary="Update POM files to 2016 standards. Update plugins."/>
<c:change date="2016-08-05T00:00:00+00:00" summary="The packaged jar is now an OSGi bundle."/>
<c:change compatible="false" date="2016-08-05T00:00:00+00:00" summary="The package will no longer compile on JDK 6 due to Checkstyle, but the compiled code is still JDK 6 compatible."/>
</c:changes>
</c:release>
<c:release date="2017-04-18T00:00:00+00:00" ticket-system="com.github.io7m.jinterp" version="1.0.2">
<c:release date="2017-04-18T00:00:00+00:00" is-open="false" ticket-system="com.github.io7m.jinterp" version="1.0.2">
<c:changes>
<c:change date="2017-04-18T00:00:00+00:00" summary="Rename project. Use the new primogenitor POM and 2017 project conventions."/>
</c:changes>
</c:release>
<c:release date="2017-12-08T15:06:44+00:00" ticket-system="com.github.io7m.jinterp" version="2.0.0">
<c:release date="2017-12-08T00:00:00+00:00" is-open="false" ticket-system="com.github.io7m.jinterp" version="2.0.0">
<c:changes>
<c:change compatible="false" date="2017-12-08T00:00:00+00:00" summary="Publish JDK 9 modules, require JDK 9 to build and run"/>
<c:change compatible="false" date="2017-12-08T15:06:44+00:00" summary="Remove jnull dependency"/>
<c:change compatible="false" date="2017-12-08T00:00:00+00:00" summary="Remove jnull dependency"/>
</c:changes>
</c:release>
<c:release date="2024-05-04T10:56:24+00:00" is-open="true" ticket-system="com.github.io7m.jinterp" version="3.0.0">
<c:changes>
<c:change compatible="false" date="2024-05-04T00:00:00+00:00" summary="Require JDK 21"/>
</c:changes>
</c:release>
</c:releases>
Expand Down
22 changes: 22 additions & 0 deletions README.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

## jinterp

Trivial Java functions to interpolate values.

## Features

* Linear interpolation.
* Cosine interpolation.
* Exponential interpolation.
* Log interpolation.
* High coverage test suite.
* [OSGi-ready](https://www.osgi.org/)
* [JPMS-ready](https://en.wikipedia.org/wiki/Java_Platform_Module_System)
* ISC license.

## Usage

```
final double r = InterpolationD.interpolateLinear(0.0, 10.0, 0.5)
assert r == 5.0
```
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,26 @@ jinterp
| OpenJDK (Temurin) LTS | Linux | [![Build (OpenJDK (Temurin) LTS, Linux)](https://img.shields.io/github/actions/workflow/status/io7m-com/jinterp/main.linux.temurin.lts.yml)](https://www.github.com/io7m-com/jinterp/actions?query=workflow%3Amain.linux.temurin.lts)|
| OpenJDK (Temurin) Current | Windows | [![Build (OpenJDK (Temurin) Current, Windows)](https://img.shields.io/github/actions/workflow/status/io7m-com/jinterp/main.windows.temurin.current.yml)](https://www.github.com/io7m-com/jinterp/actions?query=workflow%3Amain.windows.temurin.current)|
| OpenJDK (Temurin) LTS | Windows | [![Build (OpenJDK (Temurin) LTS, Windows)](https://img.shields.io/github/actions/workflow/status/io7m-com/jinterp/main.windows.temurin.lts.yml)](https://www.github.com/io7m-com/jinterp/actions?query=workflow%3Amain.windows.temurin.lts)|

## jinterp

Trivial Java functions to interpolate values.

## Features

* Linear interpolation.
* Cosine interpolation.
* Exponential interpolation.
* Log interpolation.
* High coverage test suite.
* [OSGi-ready](https://www.osgi.org/)
* [JPMS-ready](https://en.wikipedia.org/wiki/Java_Platform_Module_System)
* ISC license.

## Usage

```
final double r = InterpolationD.interpolateLinear(0.0, 10.0, 0.5)
assert r == 5.0
```

11 changes: 11 additions & 0 deletions com.io7m.jinterp.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
<groupId>com.io7m.junreachable</groupId>
<artifactId>com.io7m.junreachable.core</artifactId>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.bundle</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.versioning</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* Copyright © 2014 <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
Expand All @@ -18,5 +18,9 @@
* Core functions and types.
*/

@Export
@Version("3.0.0")
package com.io7m.jinterp;

import org.osgi.annotation.bundle.Export;
import org.osgi.annotation.versioning.Version;
4 changes: 4 additions & 0 deletions com.io7m.jinterp.core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

module com.io7m.jinterp.core
{
requires static org.osgi.annotation.bundle;
requires static org.osgi.annotation.versioning;

requires com.io7m.junreachable.core;

exports com.io7m.jinterp;
}
203 changes: 0 additions & 203 deletions com.io7m.jinterp.documentation/pom.xml

This file was deleted.

20 changes: 0 additions & 20 deletions com.io7m.jinterp.documentation/src/main/assembly/documentation.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 426a3ad

Please sign in to comment.