
This vendors the jscience javax.measure package, extracted from https://repo1.maven.org/maven2/org/jscience/jscience/4.3.1/jscience-4.3.1-sources.jar Using this package as a dependency leads to conflicting classes, which we can't solve from gradle. Instead of repackaging the jar file the easiest solution seems to be to vendor the sources we need.
28 lines
894 B
Java
28 lines
894 B
Java
/*
|
|
* JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
|
|
* Copyright (C) 2006 - JScience (http://jscience.org/)
|
|
* All rights reserved.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software is
|
|
* freely granted, provided that this notice is preserved.
|
|
*/
|
|
package javax.measure.quantity;
|
|
import javax.measure.unit.SI;
|
|
import javax.measure.unit.Unit;
|
|
|
|
/**
|
|
* This interface represents the figure formed by two lines diverging from a
|
|
* common point. The system unit for this quantity is "rad" (radian).
|
|
* This quantity is dimensionless.
|
|
*
|
|
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
|
|
* @version 1.0, January 14, 2006
|
|
*/
|
|
public interface Angle extends Dimensionless {
|
|
|
|
/**
|
|
* Holds the SI unit (Système International d'Unités) for this quantity.
|
|
*/
|
|
public final static Unit<Angle> UNIT = SI.RADIAN;
|
|
|
|
} |