
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.
32 lines
1.1 KiB
Java
32 lines
1.1 KiB
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 volume of fluid passing a point in a system
|
|
* per unit of time. The system unit for this quantity is "m³/s"
|
|
* (cubic meter per second).
|
|
*
|
|
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
|
|
* @version 3.0, March 2, 2006
|
|
* @see <a href="http://en.wikipedia.org/wiki/Rate_of_fluid_flow">
|
|
* Wikipedia: Volumetric Flow Rate</a>
|
|
*/
|
|
public interface VolumetricFlowRate extends Quantity {
|
|
|
|
/**
|
|
* Holds the SI unit (Système International d'Unités) for this quantity.
|
|
*/
|
|
@SuppressWarnings("unchecked")
|
|
public final static Unit<VolumetricFlowRate> UNIT
|
|
= (Unit<VolumetricFlowRate>) SI.METRE.pow(3).divide(SI.SECOND);
|
|
} |