blob: 9747f1df1497b3e0d5a270c0ce0a5aa02de984ca [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 12:10:30 CEST 2019 -->
<title>MeasurementRange (Apache SIS 1.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2019-09-20">
<meta name="keywords" content="org.apache.sis.measure.MeasurementRange class">
<meta name="keywords" content="create()">
<meta name="keywords" content="createGreaterThan()">
<meta name="keywords" content="createBestFit()">
<meta name="keywords" content="unit()">
<meta name="keywords" content="convertTo()">
<meta name="keywords" content="castTo()">
<meta name="keywords" content="contains()">
<meta name="keywords" content="intersects()">
<meta name="keywords" content="intersect()">
<meta name="keywords" content="union()">
<meta name="keywords" content="subtract()">
<meta name="keywords" content="equals()">
<meta name="keywords" content="hashCode()">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../sis.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MeasurementRange (Apache SIS 1.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9,"i5":9,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MeasurementRange.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.sis.measure</a></div>
<h2 title="Class MeasurementRange" class="title">Class MeasurementRange&lt;E extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super E&gt;&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></li>
<li>
<ul class="inheritance">
<li><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;E&gt;</li>
<li>
<ul class="inheritance">
<li><a href="NumberRange.html" title="class in org.apache.sis.measure">NumberRange</a>&lt;E&gt;</li>
<li>
<ul class="inheritance">
<li>MeasurementRange&lt;E&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the type of range elements as a subclass of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Number</code></a>.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Formattable.html?is-external=true" title="class or interface in java.util" class="externalLink">Formattable</a></code>, <code><a href="../util/collection/CheckedContainer.html" title="interface in org.apache.sis.util.collection">Checked­Container</a>&lt;E&gt;</code>, <code><a href="../util/Emptiable.html" title="interface in org.apache.sis.util">Emptiable</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">MeasurementRange&lt;E extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super E&gt;&gt;</span>
extends <a href="NumberRange.html" title="class in org.apache.sis.measure">NumberRange</a>&lt;E&gt;</pre>
<div class="block">A range of numbers associated with a unit of measurement. All operations performed by this
class (<a href="#union(org.apache.sis.measure.Range)">union</a>, <a href="#intersect(org.apache.sis.measure.Range)">intersection</a>, <i>etc.</i>) are
performed in the unit of measurement of <code>this</code> range object - values of the range
object given in argument are converted if needed before an operation is applied.
<p>Other methods defined in this class:</p>
<ul>
<li>Convenience <code>create(…)</code> static methods for every floating point primitive types.
Usage of <code>Measurement­Range</code> with integer types is possible, but no convenience
method is provided for integers because they are usually not representative of the
nature of physical measurements.</li>
<li><a href="#unit()"><code>unit()</code></a> for getting the unit of measurement associated to this range.</li>
<li><a href="#convertTo(javax.measure.Unit)"><code>convert­To(Unit)</code></a> for converting the unit of measurement.</li>
<li><a href="#castTo(java.lang.Class)"><code>cast­To(Class)</code></a> for casting the range values to an other type.</li>
</ul>
<div class="section">Null unit of measurement</div>
The unit of measurement should not be null, otherwise a <a href="NumberRange.html" title="class in org.apache.sis.measure"><code>Number­Range</code></a> should be used
instead than <code>Measurement­Range</code>. Nevertheless this class is tolerant to <code>null</code>
units in order to support situations where a unit of measurement <em>should</em> be specified,
but for some reason is unavailable. If the unit of measurement become known at a later stage,
it can be specified by a call to <a href="#convertTo(javax.measure.Unit)"><code>convert­To(Unit)</code></a>.
<div class="section">Immutability and thread safety</div>
This class is immutable and thus inherently thread-safe.
Subclasses may or may not be immutable, at implementation choice. But implementers are
encouraged to make sure that subclasses remain immutable for more predictable behavior.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.3</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="RangeFormat.html" title="class in org.apache.sis.measure"><code>Range­Format</code></a>,
<a href="../util/collection/RangeSet.html" title="class in org.apache.sis.util.collection"><code>Range­Set</code></a>,
<a href="../../../../serialized-form.html#org.apache.sis.measure.MeasurementRange">Serialized Form</a></dd>
<p><font size="-1">Defined in the <code>sis-utility</code> module</font></p>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.Class,E,boolean,E,boolean,javax.measure.Unit)">MeasurementRange</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;type,
<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&nbsp;minValue,
boolean&nbsp;isMinIncluded,
<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Number</code></a> objects.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.Class,org.apache.sis.measure.ValueRange,javax.measure.Unit)">MeasurementRange</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;type,
<a href="ValueRange.html" title="annotation in org.apache.sis.measure">ValueRange</a>&nbsp;range,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range of the given type with values from the given annotation.</div>
</td>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.sis.measure.Range,javax.measure.Unit)">MeasurementRange</a></span>&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range with the same values than the specified range and the given unit.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>&lt;N extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super N&gt;&gt;<br><a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;N&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#castTo(java.lang.Class)">castTo</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;N&gt;&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Casts this range to the specified type.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(org.apache.sis.measure.Range)">contains</a></span>&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;? extends <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if the supplied range is fully contained within this range.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertTo(javax.measure.Unit)">convertTo</a></span>&#8203;(<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;targetUnit)</code></th>
<td class="colLast">
<div class="block">Converts this range to the specified unit.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(double,boolean,double,boolean,javax.measure.Unit)">create</a></span>&#8203;(double&nbsp;minValue,
boolean&nbsp;isMinIncluded,
double&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range of <code>double</code> values.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(float,boolean,float,boolean,javax.measure.Unit)">create</a></span>&#8203;(float&nbsp;minValue,
boolean&nbsp;isMinIncluded,
float&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range of <code>float</code> values.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;?&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createBestFit(java.lang.Number,boolean,java.lang.Number,boolean,javax.measure.Unit)">createBestFit</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a>&nbsp;minValue,
boolean&nbsp;isMinIncluded,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a>&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range using the smallest type of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Number</code></a> that can hold the given values.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createGreaterThan(double,javax.measure.Unit)">createGreaterThan</a></span>&#8203;(double&nbsp;minValue,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</code></th>
<td class="colLast">
<div class="block">Constructs a range of <code>double</code> values greater than the given value.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;object)</code></th>
<td class="colLast">
<div class="block">Compares this measurement range with the specified object for equality.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a hash code value for this measurement range.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intersect(org.apache.sis.measure.Range)">intersect</a></span>&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Returns the intersection between this range and the given range.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intersects(org.apache.sis.measure.Range)">intersects</a></span>&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;? extends <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if this range intersects the given range.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subtract(org.apache.sis.measure.Range)">subtract</a></span>&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Returns the range of values that are in this range but not in the given range.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#union(org.apache.sis.measure.Range)">union</a></span>&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Returns the union of this range with the given range.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unit()">unit</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the unit of measurement, or <code>null</code> if unknown.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.NumberRange">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;<a href="NumberRange.html" title="class in org.apache.sis.measure">NumberRange</a></h3>
<code><a href="NumberRange.html#castOrCopy(org.apache.sis.measure.Range)">cast­Or­Copy</a>, <a href="NumberRange.html#containsAny(java.lang.Number)">contains­Any</a>, <a href="NumberRange.html#containsAny(org.apache.sis.measure.NumberRange)">contains­Any</a>, <a href="NumberRange.html#create(byte,boolean,byte,boolean)">create</a>, <a href="NumberRange.html#create(double,boolean,double,boolean)">create</a>, <a href="NumberRange.html#create(float,boolean,float,boolean)">create</a>, <a href="NumberRange.html#create(int,boolean,int,boolean)">create</a>, <a href="NumberRange.html#create(long,boolean,long,boolean)">create</a>, <a href="NumberRange.html#create(short,boolean,short,boolean)">create</a>, <a href="NumberRange.html#create(java.lang.Class,N)">create</a>, <a href="NumberRange.html#createBestFit(java.lang.Number,boolean,java.lang.Number,boolean)">create­Best­Fit</a>, <a href="NumberRange.html#createLeftBounded(int,boolean)">create­Left­Bounded</a>, <a href="NumberRange.html#getMaxDouble()">get­Max­Double</a>, <a href="NumberRange.html#getMaxDouble(boolean)">get­Max­Double</a>, <a href="NumberRange.html#getMinDouble()">get­Min­Double</a>, <a href="NumberRange.html#getMinDouble(boolean)">get­Min­Double</a>, <a href="NumberRange.html#intersectAny(org.apache.sis.measure.NumberRange)">intersect­Any</a>, <a href="NumberRange.html#intersectsAny(org.apache.sis.measure.NumberRange)">intersects­Any</a>, <a href="NumberRange.html#subtractAny(org.apache.sis.measure.NumberRange)">subtract­Any</a>, <a href="NumberRange.html#unionAny(org.apache.sis.measure.NumberRange)">union­Any</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.Range">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;<a href="Range.html" title="class in org.apache.sis.measure">Range</a></h3>
<code><a href="Range.html#contains(E)">contains</a>, <a href="Range.html#formatTo(java.util.Formatter,int,int,int)">format­To</a>, <a href="Range.html#getElementType()">get­Element­Type</a>, <a href="Range.html#getMaxValue()">get­Max­Value</a>, <a href="Range.html#getMinValue()">get­Min­Value</a>, <a href="Range.html#isBounded()">is­Bounded</a>, <a href="Range.html#isEmpty()">is­Empty</a>, <a href="Range.html#isMaxIncluded()">is­Max­Included</a>, <a href="Range.html#isMinIncluded()">is­Min­Included</a>, <a href="Range.html#toString()">to­String</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">get­Class</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notify­All</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.sis.measure.Range,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MeasurementRange</h4>
<pre>public&nbsp;MeasurementRange&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</pre>
<div class="block">Constructs a range with the same values than the specified range and the given unit.
This is a copy constructor, with the addition of a unit of measurement.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the range to copy. The elements must be <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Number</code></a> instances.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
</dl>
</li>
</ul>
<a id="&lt;init&gt;(java.lang.Class,org.apache.sis.measure.ValueRange,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MeasurementRange</h4>
<pre>public&nbsp;MeasurementRange&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;type,
<a href="ValueRange.html" title="annotation in org.apache.sis.measure">ValueRange</a>&nbsp;range,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Constructs a range of the given type with values from the given annotation.
This constructor does not verify if the given type is wide enough for the values of
the given annotation, because those information are usually static. If nevertheless
the given type is not wide enough, then the values are truncated in the same way
than the Java language casts primitive types.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the element type, restricted to one of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a>.</dd>
<dd><code>range</code> - the range of values.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if the given type is not one of the primitive wrappers for numeric types.</dd>
</dl>
</li>
</ul>
<a id="&lt;init&gt;(java.lang.Class,java.lang.Number,boolean,java.lang.Number,boolean,javax.measure.Unit)">
<!-- -->
</a><a id="&lt;init&gt;(java.lang.Class,E,boolean,E,boolean,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MeasurementRange</h4>
<pre>public&nbsp;MeasurementRange&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;type,
<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&nbsp;minValue,
boolean&nbsp;isMinIncluded,
<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</pre>
<div class="block">Constructs a range of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Number</code></a> objects.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the element type, usually one of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a>.</dd>
<dd><code>min­Value</code> - the minimal value, or <code>null</code> if none.</dd>
<dd><code>is­Min­Included</code> - <code>true</code> if the minimal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>max­Value</code> - the maximal value, or <code>null</code> if none.</dd>
<dd><code>is­Max­Included</code> - <code>true</code> if the maximal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="create(float,boolean,float,boolean,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&gt;&nbsp;create&#8203;(float&nbsp;minValue,
boolean&nbsp;isMinIncluded,
float&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</pre>
<div class="block">Constructs a range of <code>float</code> values.
The minimum and maximum values can not be NaN but can be infinite.
If the minimum is greater than the maximum, then the range <a href="Range.html#isEmpty()">is empty</a>.
This method may return a shared instance, at implementation choice.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>min­Value</code> - the minimal value, or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true#NEGATIVE_INFINITY" title="class or interface in java.lang" class="externalLink"><code>Float​.NEGATIVE_INFINITY</code></a> if none.</dd>
<dd><code>is­Min­Included</code> - <code>true</code> if the minimal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>max­Value</code> - the maximal value, or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang" class="externalLink"><code>Float​.POSITIVE_INFINITY</code></a> if none.</dd>
<dd><code>is­Max­Included</code> - <code>true</code> if the maximal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new range of numeric values for the given endpoints and unit of measurement.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true#isNaN(float)" title="class or interface in java.lang" class="externalLink"><code>Float​.is­Na­N(float)</code></a> is <code>true</code> for a given value.</dd>
</dl>
</li>
</ul>
<a id="create(double,boolean,double,boolean,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&gt;&nbsp;create&#8203;(double&nbsp;minValue,
boolean&nbsp;isMinIncluded,
double&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</pre>
<div class="block">Constructs a range of <code>double</code> values.
The minimum and maximum values can not be NaN but can be infinite.
If the minimum is greater than the maximum, then the range <a href="Range.html#isEmpty()">is empty</a>.
This method may return a shared instance, at implementation choice.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>min­Value</code> - the minimal value, or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#NEGATIVE_INFINITY" title="class or interface in java.lang" class="externalLink"><code>Double​.NEGATIVE_INFINITY</code></a> if none.</dd>
<dd><code>is­Min­Included</code> - <code>true</code> if the minimal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>max­Value</code> - the maximal value, or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang" class="externalLink"><code>Double​.POSITIVE_INFINITY</code></a> if none.</dd>
<dd><code>is­Max­Included</code> - <code>true</code> if the maximal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new range of numeric values for the given endpoints and unit of measurement.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#isNaN(double)" title="class or interface in java.lang" class="externalLink"><code>Double​.is­Na­N(double)</code></a> is <code>true</code> for a given value.</dd>
</dl>
</li>
</ul>
<a id="createGreaterThan(double,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createGreaterThan</h4>
<pre class="methodSignature">public static&nbsp;<a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&gt;&nbsp;createGreaterThan&#8203;(double&nbsp;minValue,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</pre>
<div class="block">Constructs a range of <code>double</code> values greater than the given value.
The <code>min­Value</code> is often zero for creating a range of strictly positive values.
This method may return a shared instance, at implementation choice.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>min­Value</code> - the minimal value (exclusive), or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#NEGATIVE_INFINITY" title="class or interface in java.lang" class="externalLink"><code>Double​.NEGATIVE_INFINITY</code></a> if none.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new range of numeric values greater than the given value.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#isNaN(double)" title="class or interface in java.lang" class="externalLink"><code>Double​.is­Na­N(double)</code></a> is <code>true</code> for the given value.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.6</dd>
</dl>
</li>
</ul>
<a id="createBestFit(java.lang.Number,boolean,java.lang.Number,boolean,javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBestFit</h4>
<pre class="methodSignature">public static&nbsp;<a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;?&gt;&nbsp;createBestFit&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a>&nbsp;minValue,
boolean&nbsp;isMinIncluded,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a>&nbsp;maxValue,
boolean&nbsp;isMaxIncluded,
<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit)</pre>
<div class="block">Constructs a range using the smallest type of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Number</code></a> that can hold the given values.
This method performs the same work than <a href="NumberRange.html#createBestFit(java.lang.Number,boolean,java.lang.Number,boolean)"><code>Number­Range​.create­Best­Fit(…)</code></a>
with an additional <code>unit</code> argument.
<p>This method may return a shared instance, at implementation choice.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>min­Value</code> - the minimal value, or <code>null</code> if none.</dd>
<dd><code>is­Min­Included</code> - <code>true</code> if the minimal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>max­Value</code> - the maximal value, or <code>null</code> if none.</dd>
<dd><code>is­Max­Included</code> - <code>true</code> if the maximal value is inclusive, or <code>false</code> if exclusive.</dd>
<dd><code>unit</code> - the unit of measurement, or <code>null</code> if unknown.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new range, or <code>null</code> if both <code>min­Value</code> and <code>max­Value</code> are <code>null</code>.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="NumberRange.html#createBestFit(java.lang.Number,boolean,java.lang.Number,boolean)"><code>Number­Range​.create­Best­Fit(Number, boolean, Number, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a id="unit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unit</h4>
<pre class="methodSignature">public&nbsp;<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;unit()</pre>
<div class="block">Returns the unit of measurement, or <code>null</code> if unknown.
In principle the unit should never be null, otherwise a <a href="NumberRange.html" title="class in org.apache.sis.measure"><code>Number­Range</code></a> should have been used
instead than <code>Measurement­Range</code>. Nevertheless this method may return <code>null</code> if a unit
<em>should</em> exist but for some reason is unavailable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the unit of measurement, or <code>null</code>.</dd>
</dl>
</li>
</ul>
<a id="convertTo(javax.measure.Unit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertTo</h4>
<pre class="methodSignature">public&nbsp;<a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;convertTo&#8203;(<a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/Unit.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Unit</a>&lt;?&gt;&nbsp;targetUnit)
throws <a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/IncommensurableException.html?is-external=true" title="class or interface in javax.measure" class="externalLink">IncommensurableException</a></pre>
<div class="block">Converts this range to the specified unit. If this measurement range has null unit,
then the specified target unit are simply assigned to the returned range with no
other changes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target­Unit</code> - the target unit, or <code>null</code> for keeping the unit unchanged.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the converted range, or <code>this</code> if no conversion is needed.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://unitsofmeasurement.github.io/unit-api/site/apidocs/javax/measure/IncommensurableException.html?is-external=true" title="class or interface in javax.measure" class="externalLink">Incommensurable­Exception</a></code> - if the target unit are not compatible with this <a href="#unit()">range unit</a>.</dd>
</dl>
</li>
</ul>
<a id="castTo(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>castTo</h4>
<pre class="methodSignature">public&nbsp;&lt;N extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super N&gt;&gt;&nbsp;<a href="MeasurementRange.html" title="class in org.apache.sis.measure">MeasurementRange</a>&lt;N&gt;&nbsp;castTo&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;N&gt;&nbsp;type)</pre>
<div class="block">Casts this range to the specified type. If the cast from this range type to the given
type is a narrowing conversion, then the cast is performed according the rules of the
Java language: the high-order bytes are silently dropped.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="NumberRange.html#castTo(java.lang.Class)">cast­To</a></code>&nbsp;in class&nbsp;<code><a href="NumberRange.html" title="class in org.apache.sis.measure">Number­Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>N</code> - the class to cast to.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the class to cast to. Must be one of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the casted range, or <code>this</code> if this range already uses the specified type.</dd>
</dl>
</li>
</ul>
<a id="contains(org.apache.sis.measure.Range)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;contains&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;? extends <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Returns <code>true</code> if the supplied range is fully contained within this range.
If the given range is an instance of <code>Measurement­Range</code>, then this method converts
the value of the other range to the unit of measurement of this range before to perform
the operation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#contains(org.apache.sis.measure.Range)">contains</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the range to check for inclusion in this range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the given range is included in this range.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if the given range is an instance of
<code>Measurement­Range</code> using incommensurable unit of measurement.</dd>
</dl>
</li>
</ul>
<a id="intersects(org.apache.sis.measure.Range)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersects</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;intersects&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;? extends <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Returns <code>true</code> if this range intersects the given range.
If the given range is an instance of <code>Measurement­Range</code>, then this method converts
the value of the other range to the unit of measurement of this range before to perform
the operation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#intersects(org.apache.sis.measure.Range)">intersects</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the range to check for intersection with this range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the given range intersects this range.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if the given range is an instance of
<code>Measurement­Range</code> using incommensurable unit of measurement.</dd>
</dl>
</li>
</ul>
<a id="intersect(org.apache.sis.measure.Range)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersect</h4>
<pre class="methodSignature">public&nbsp;<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;intersect&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Returns the intersection between this range and the given range.
If the given range is an instance of <code>Measurement­Range</code>, then this method converts
the value of the other range to the unit of measurement of this range before to perform
the operation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#intersect(org.apache.sis.measure.Range)">intersect</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the range to intersect.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the intersection of this range with the given range.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if the given range is an instance of
<code>Measurement­Range</code> using incommensurable unit of measurement.</dd>
</dl>
</li>
</ul>
<a id="union(org.apache.sis.measure.Range)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre class="methodSignature">public&nbsp;<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;union&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Returns the union of this range with the given range.
If the given range is an instance of <code>Measurement­Range</code>, then this method converts
the value of the other range to the unit of measurement of this range before to perform
the operation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#union(org.apache.sis.measure.Range)">union</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the range to add to this range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the union of this range with the given range.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if the given range is an instance of
<code>Measurement­Range</code> using incommensurable unit of measurement.</dd>
</dl>
</li>
</ul>
<a id="subtract(org.apache.sis.measure.Range)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subtract</h4>
<pre class="methodSignature">public&nbsp;<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;[]&nbsp;subtract&#8203;(<a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&nbsp;range)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Returns the range of values that are in this range but not in the given range.
This method returns an array of length 0, 1 or 2:
<ul>
<li>If the given range contains fully this range, returns an array of length 0.</li>
<li>If the given range is in the middle of this range, then the subtraction results in
two disjoint ranges which will be returned as two elements in the array.</li>
<li>Otherwise returns an array of length 1.</li>
</ul>
If the given range is an instance of <code>Measurement­Range</code>, then this method converts
the value of the other range to the unit of measurement of this range before to perform
the operation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#subtract(org.apache.sis.measure.Range)">subtract</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the range to subtract.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this range without the given range, as an array of length 0, 1 or 2.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">Illegal­Argument­Exception</a></code> - if the given range is an instance of
<code>Measurement­Range</code> using incommensurable unit of measurement.</dd>
</dl>
</li>
</ul>
<a id="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;equals&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;object)</pre>
<div class="block">Compares this measurement range with the specified object for equality. Two <code>Measurement­Range</code> instances
are considered equal if they met all conditions <a href="Range.html#equals(java.lang.Object)">documented in the parent class</a>
and their <a href="#unit()"><code>unit()</code></a> are equal in the sense of <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#equals(java.lang.Object,java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Objects​.equals(Object, Object)</code></a>.
Note that this comparison does not distinguish the various <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true#NaN" title="class or interface in java.lang" class="externalLink"><code>Float​.Na­N</code></a> or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#NaN" title="class or interface in java.lang" class="externalLink"><code>Double​.Na­N</code></a> bit patterns.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - the object to compare with this range for equality.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the given object is equal to this range.</dd>
</dl>
</li>
</ul>
<a id="hashCode()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Returns a hash code value for this measurement range.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Range.html#hashCode()">hash­Code</a></code>&nbsp;in class&nbsp;<code><a href="Range.html" title="class in org.apache.sis.measure">Range</a>&lt;<a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang" class="externalLink">Number</a> &amp; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;? super <a href="MeasurementRange.html" title="type parameter in MeasurementRange">E</a>&gt;&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MeasurementRange.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2010&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>