blob: 2ff793f2da6647e496054944578b10aecc8d2c3b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Permutation (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Permutation (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10};
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../index-all.html">索引</a></li>
<li><a href="../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/calcite/util/PartiallyOrderedSet.Ordering.html" title="org.apache.calcite.util中的接口"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/util/PrecedenceClimbingParser.html" title="org.apache.calcite.util中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/util/Permutation.html" target="_top">框架</a></li>
<li><a href="Permutation.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">所有类</a></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>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.util</div>
<h2 title="类 Permutation" class="title">类 Permutation</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="java.lang中的类或接口">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.util.Permutation</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有已实现的接口:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/mapping/IntPair.html" title="org.apache.calcite.util.mapping中的类">IntPair</a>&gt;, <a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a>, <a href="../../../../org/apache/calcite/util/mapping/Mappings.CoreMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.CoreMapping</a>, <a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.FunctionMapping</a>, <a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a>, <a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">Permutation</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>
implements <a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a>, <a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></pre>
<div class="block">Represents a mapping which reorders elements in an array.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>构造器概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
<caption><span>构造器</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">构造器和说明</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#Permutation-int-">Permutation</a></span>(int&nbsp;size)</code>
<div class="block">Creates a permutation of a given size.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#Permutation-int:A-">Permutation</a></span>(int[]&nbsp;targets)</code>
<div class="block">Creates a permutation from an array.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#clear--">clear</a></span>()</code>
<div class="block">Removes all elements in the mapping.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#clone--">clone</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;obj)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/mapping/MappingType.html" title="org.apache.calcite.util.mapping中的枚举">MappingType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getMappingType--">getMappingType</a></span>()</code>
<div class="block">Returns the mapping type.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getSource-int-">getSource</a></span>(int&nbsp;target)</code>
<div class="block">Returns the position which maps to <code>target</code>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getSourceCount--">getSourceCount</a></span>()</code>
<div class="block">Returns the number of sources.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getSourceOpt-int-">getSourceOpt</a></span>(int&nbsp;target)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getTarget-int-">getTarget</a></span>(int&nbsp;source)</code>
<div class="block">Returns the position that <code>source</code> is mapped to.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getTargetCount--">getTargetCount</a></span>()</code>
<div class="block">Returns the number of targets.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#getTargetOpt-int-">getTargetOpt</a></span>(int&nbsp;source)</code>
<div class="block">Returns the target that a source maps to, or -1 if it is not mapped.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#identity--">identity</a></span>()</code>
<div class="block">Initializes this permutation to the identity permutation.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#insertSource-int-">insertSource</a></span>(int&nbsp;x)</code>
<div class="block">Inserts into the sources.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#insertTarget-int-">insertTarget</a></span>(int&nbsp;x)</code>
<div class="block">Inserts into the targets.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/Permutation.html" title="org.apache.calcite.util中的类">Permutation</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#inverse--">inverse</a></span>()</code>
<div class="block">Returns the inverse permutation.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#isIdentity--">isIdentity</a></span>()</code>
<div class="block">Returns whether this is the identity permutation.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;<a href="../../../../org/apache/calcite/util/mapping/IntPair.html" title="org.apache.calcite.util.mapping中的类">IntPair</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#iterator--">iterator</a></span>()</code>
<div class="block">Returns an iterator over the elements in this mapping.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/Permutation.html" title="org.apache.calcite.util中的类">Permutation</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#product-org.apache.calcite.util.Permutation-">product</a></span>(<a href="../../../../org/apache/calcite/util/Permutation.html" title="org.apache.calcite.util中的类">Permutation</a>&nbsp;permutation)</code>
<div class="block">Returns the product of this Permutation with a given Permutation.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#set-int-int-">set</a></span>(int&nbsp;source,
int&nbsp;target)</code>
<div class="block">Maps source position to target position.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#set-int-int-boolean-">set</a></span>(int&nbsp;source,
int&nbsp;target,
boolean&nbsp;allowResize)</code>
<div class="block">Maps source position to target position, automatically resizing if source
or target is out of bounds.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#setAll-org.apache.calcite.util.mapping.Mapping-">setAll</a></span>(<a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a>&nbsp;mapping)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#size--">size</a></span>()</code>
<div class="block">Returns the number of elements in this permutation.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Permutation.html#toString--">toString</a></span>()</code>
<div class="block">Returns a string representation of this permutation.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
<!-- -->
</a>
<h3>从接口继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="java.lang中的类或接口">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="java.lang中的类或接口">spliterator</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>构造器详细资料</h3>
<a name="Permutation-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Permutation</h4>
<pre>public&nbsp;Permutation(int&nbsp;size)</pre>
<div class="block">Creates a permutation of a given size.
<p>It is initialized to the identity permutation, such as "[0, 1, 2, 3]".</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>size</code> - Number of elements in the permutation</dd>
</dl>
</li>
</ul>
<a name="Permutation-int:A-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Permutation</h4>
<pre>public&nbsp;Permutation(int[]&nbsp;targets)</pre>
<div class="block">Creates a permutation from an array.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>targets</code> - Array of targets</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="java.lang中的类或接口">IllegalArgumentException</a></code> - if elements of array are not unique</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">ArrayIndexOutOfBoundsException</a></code> - if elements of array are not
between 0 through targets.length - 1
inclusive</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;clone()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="identity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>identity</h4>
<pre>public&nbsp;void&nbsp;identity()</pre>
<div class="block">Initializes this permutation to the identity permutation.</div>
</li>
</ul>
<a name="size--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public final&nbsp;int&nbsp;size()</pre>
<div class="block">Returns the number of elements in this permutation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#size--">size</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.CoreMapping.html#size--">size</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.CoreMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.CoreMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="clear--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#clear--">Mapping</a></code></span></div>
<div class="block">Removes all elements in the mapping.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#clear--">clear</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toString()</pre>
<div class="block">Returns a string representation of this permutation.
<p>For example, the mapping
<table>
<caption>Example mapping</caption>
<tr>
<th>source</th>
<th>target</th>
</tr>
<tr>
<td>0</td>
<td>2</td>
</tr>
<tr>
<td>1</td>
<td>0</td>
</tr>
<tr>
<td>2</td>
<td>1</td>
</tr>
<tr>
<td>3</td>
<td>3</td>
</tr>
</table>
<p>is represented by the string "[2, 0, 1, 3]".</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="set-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;source,
int&nbsp;target)</pre>
<div class="block">Maps source position to target position.
<p>To preserve the 1:1 nature of the permutation, the previous target of
source becomes the new target of the previous source.
<p>For example, given the permutation
<blockquote><pre>[3, 2, 0, 1]</pre></blockquote>
<p>suppose we map position 2 to target 1. Position 2 currently has target
0, and the source of position 1 is position 3. We preserve the permutation
property by mapping the previous source 3 to the previous target 0. The new
permutation is
<blockquote><pre>[3, 2, 1, 0].</pre></blockquote>
<p>Another example. Again starting from
<blockquote><pre>[3, 2, 0, 1]</pre></blockquote>
<p>suppose we map position 2 to target 3. We map the previous source 0 to
the previous target 0, which gives
<blockquote><pre>[0, 2, 3, 1].</pre></blockquote></div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#set-int-int-">set</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>source</code> - Source position</dd>
<dd><code>target</code> - Target position</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">ArrayIndexOutOfBoundsException</a></code> - if source or target is negative or
greater than or equal to the size of
the permuation</dd>
</dl>
</li>
</ul>
<a name="set-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;source,
int&nbsp;target,
boolean&nbsp;allowResize)</pre>
<div class="block">Maps source position to target position, automatically resizing if source
or target is out of bounds.
<p>To preserve the 1:1 nature of the permutation, the previous target of
source becomes the new target of the previous source.
<p>For example, given the permutation
<blockquote><pre>[3, 2, 0, 1]</pre></blockquote>
<p>suppose we map position 2 to target 1. Position 2 currently has target
0, and the source of position 1 is position 3. We preserve the permutation
property by mapping the previous source 3 to the previous target 0. The new
permutation is
<blockquote><pre>[3, 2, 1, 0].</pre></blockquote>
<p>Another example. Again starting from
<blockquote><pre>[3, 2, 0, 1]</pre></blockquote>
<p>suppose we map position 2 to target 3. We map the previous source 0 to
the previous target 0, which gives
<blockquote><pre>[0, 2, 3, 1].</pre></blockquote></div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>source</code> - Source position</dd>
<dd><code>target</code> - Target position</dd>
<dd><code>allowResize</code> - Whether to resize the permutation if the source or
target is greater than the current capacity</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">ArrayIndexOutOfBoundsException</a></code> - if source or target is negative,
or greater than or equal to the size
of the permutation, and
<code>allowResize</code> is false</dd>
</dl>
</li>
</ul>
<a name="insertTarget-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertTarget</h4>
<pre>public&nbsp;void&nbsp;insertTarget(int&nbsp;x)</pre>
<div class="block">Inserts into the targets.
<p>For example, consider the permutation</p>
<table border="1">
<caption>Example permutation</caption>
<tr>
<td>source</td>
<td>0</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>target</td>
<td>3</td>
<td>0</td>
<td>4</td>
<td>2</td>
<td>1</td>
</tr>
</table>
<p>After applying <code>insertTarget(2)</code> every target 2 or higher is
shifted up one.</p>
<table border="1">
<caption>Mapping after applying insertTarget(2)</caption>
<tr>
<td>source</td>
<td>0</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
<tr>
<td>target</td>
<td>4</td>
<td>0</td>
<td>5</td>
<td>3</td>
<td>1</td>
<td>2</td>
</tr>
</table>
<p>Note that the array has been extended to accommodate the new target, and
the previously unmapped source 5 is mapped to the unused target slot 2.</p></div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>x</code> - Ordinal of position to add to target</dd>
</dl>
</li>
</ul>
<a name="insertSource-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertSource</h4>
<pre>public&nbsp;void&nbsp;insertSource(int&nbsp;x)</pre>
<div class="block">Inserts into the sources.
<p>Behavior is analogous to <a href="../../../../org/apache/calcite/util/Permutation.html#insertTarget-int-"><code>insertTarget(int)</code></a>.</p></div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>x</code> - Ordinal of position to add to source</dd>
</dl>
</li>
</ul>
<a name="inverse--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inverse</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/Permutation.html" title="org.apache.calcite.util中的类">Permutation</a>&nbsp;inverse()</pre>
<div class="block">Returns the inverse permutation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#inverse--">inverse</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#inverse--">inverse</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="isIdentity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIdentity</h4>
<pre>public&nbsp;boolean&nbsp;isIdentity()</pre>
<div class="block">Returns whether this is the identity permutation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#isIdentity--">isIdentity</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#isIdentity--">isIdentity</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="getTarget-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTarget</h4>
<pre>public&nbsp;int&nbsp;getTarget(int&nbsp;source)</pre>
<div class="block">Returns the position that <code>source</code> is mapped to.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html#getTarget-int-">getTarget</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.FunctionMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#getTarget-int-">getTarget</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>source</code> - source</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>target</dd>
</dl>
</li>
</ul>
<a name="getSource-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSource</h4>
<pre>public&nbsp;int&nbsp;getSource(int&nbsp;target)</pre>
<div class="block">Returns the position which maps to <code>target</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#getSource-int-">getSource</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;obj)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="iterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;<a href="../../../../org/apache/calcite/util/mapping/IntPair.html" title="org.apache.calcite.util.mapping中的类">IntPair</a>&gt;&nbsp;iterator()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#iterator--">Mapping</a></code></span></div>
<div class="block">Returns an iterator over the elements in this mapping.
<p>This method is optional; implementations may throw
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="java.lang中的类或接口"><code>UnsupportedOperationException</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator--" title="java.lang中的类或接口">iterator</a></code>&nbsp;在接口中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/mapping/IntPair.html" title="org.apache.calcite.util.mapping中的类">IntPair</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#iterator--">iterator</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
</dl>
</li>
</ul>
<a name="getSourceCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSourceCount</h4>
<pre>public&nbsp;int&nbsp;getSourceCount()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#getSourceCount--">Mapping</a></code></span></div>
<div class="block">Returns the number of sources. Valid sources will be in the range 0 ..
sourceCount.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#getSourceCount--">getSourceCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html#getSourceCount--">getSourceCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.FunctionMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#getSourceCount--">getSourceCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#getSourceCount--">getSourceCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="getTargetCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTargetCount</h4>
<pre>public&nbsp;int&nbsp;getTargetCount()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#getTargetCount--">Mapping</a></code></span></div>
<div class="block">Returns the number of targets. Valid targets will be in the range 0 ..
targetCount.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#getTargetCount--">getTargetCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#getTargetCount--">getTargetCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#getTargetCount--">getTargetCount</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="getMappingType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMappingType</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/mapping/MappingType.html" title="org.apache.calcite.util.mapping中的枚举">MappingType</a>&nbsp;getMappingType()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.CoreMapping.html#getMappingType--">Mappings.CoreMapping</a></code></span></div>
<div class="block">Returns the mapping type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html#getMappingType--">getMappingType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.CoreMapping.html#getMappingType--">getMappingType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.CoreMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.CoreMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html#getMappingType--">getMappingType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.FunctionMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#getMappingType--">getMappingType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Mapping type</dd>
</dl>
</li>
</ul>
<a name="getTargetOpt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTargetOpt</h4>
<pre>public&nbsp;int&nbsp;getTargetOpt(int&nbsp;source)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html#getTargetOpt-int-">Mappings.FunctionMapping</a></code></span></div>
<div class="block">Returns the target that a source maps to, or -1 if it is not mapped.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html#getTargetOpt-int-">getTargetOpt</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.FunctionMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.FunctionMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#getTargetOpt-int-">getTargetOpt</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#getTargetOpt-int-">getTargetOpt</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="getSourceOpt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSourceOpt</h4>
<pre>public&nbsp;int&nbsp;getSourceOpt(int&nbsp;target)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html#getSourceOpt-int-">getSourceOpt</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.SourceMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.SourceMapping</a></code></dd>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html#getSourceOpt-int-">getSourceOpt</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="org.apache.calcite.util.mapping中的接口">Mappings.TargetMapping</a></code></dd>
</dl>
</li>
</ul>
<a name="setAll-org.apache.calcite.util.mapping.Mapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAll</h4>
<pre>public&nbsp;void&nbsp;setAll(<a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="org.apache.calcite.util.mapping中的接口">Mapping</a>&nbsp;mapping)</pre>
</li>
</ul>
<a name="product-org.apache.calcite.util.Permutation-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>product</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/Permutation.html" title="org.apache.calcite.util中的类">Permutation</a>&nbsp;product(<a href="../../../../org/apache/calcite/util/Permutation.html" title="org.apache.calcite.util中的类">Permutation</a>&nbsp;permutation)</pre>
<div class="block">Returns the product of this Permutation with a given Permutation. Does
not modify this Permutation or <code>permutation</code>.
<p>For example, perm.product(perm.inverse()) yields the identity.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../index-all.html">索引</a></li>
<li><a href="../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/calcite/util/PartiallyOrderedSet.Ordering.html" title="org.apache.calcite.util中的接口"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/util/PrecedenceClimbingParser.html" title="org.apache.calcite.util中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/util/Permutation.html" target="_top">框架</a></li>
<li><a href="Permutation.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">所有类</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>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>