blob: 6b16e5360b9d175e500564df9df8906f7f733045 [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>Util (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="Util (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":41,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":41,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":41,"i40":41,"i41":41,"i42":41,"i43":41,"i44":41,"i45":41,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":41,"i62":41,"i63":41,"i64":41,"i65":9,"i66":9,"i67":9,"i68":9,"i69":41,"i70":41,"i71":41,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":41,"i82":9,"i83":9,"i84":9,"i85":41,"i86":41,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":41,"i94":41,"i95":41,"i96":41,"i97":41,"i98":41,"i99":41,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":41,"i110":9,"i111":9,"i112":9,"i113":9,"i114":9,"i115":41,"i116":9,"i117":9};
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]};
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/Unsafe.html" title="org.apache.calcite.util中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/util/Util.FoundOne.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/Util.html" target="_top">框架</a></li>
<li><a href="Util.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><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&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="类 Util" class="title">类 Util</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.Util</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Util</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></pre>
<div class="block">Miscellaneous utility functions.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.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="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">类和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.FoundOne.html" title="org.apache.calcite.util中的类">Util.FoundOne</a></span></code>
<div class="block">Exception used to interrupt a tree walk of any kind.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.OverFinder.html" title="org.apache.calcite.util中的类">Util.OverFinder</a></span></code>
<div class="block">Visitor which looks for an OVER clause inside a tree of
<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类"><code>SqlNode</code></a> objects.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.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="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">字段和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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/Util.html#FILE_SEPARATOR">FILE_SEPARATOR</a></span></code>
<div class="block">System-dependent file separator, for example, "/" or "\."</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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/Util.html#FILE_TIMESTAMP_FORMAT">FILE_TIMESTAMP_FORMAT</a></span></code>
<div class="block">Datetime format string for generating a timestamp string to be used as
part of a filename.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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/Util.html#LINE_SEPARATOR">LINE_SEPARATOR</a></span></code>
<div class="block">System-dependent newline character.</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="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</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>static &lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#asIndexMap-java.util.Collection-com.google.common.base.Function-">asIndexMap</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;V&gt;&nbsp;values,
com.google.common.base.Function&lt;V,K&gt;&nbsp;function)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#asIndexMapJ-java.util.Collection-java.util.function.Function-">asIndexMapJ</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;V&gt;&nbsp;values,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="java.util.function中的类或接口">Function</a>&lt;V,K&gt;&nbsp;function)</code>
<div class="block">Returns a map that is a view onto a collection of values, using the
provided function to convert a value to a key.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#blackholeMap--">blackholeMap</a></span>()</code>
<div class="block">Returns a map which ignores any write operation.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口">Calendar</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#calendar--">calendar</a></span>()</code>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口"><code>Calendar</code></a> in the UTC time zone and root locale.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口">Calendar</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#calendar-long-">calendar</a></span>(long&nbsp;millis)</code>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口"><code>Calendar</code></a> in the UTC time zone and root locale
with a given time.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#cast-java.lang.Iterable-java.lang.Class-">cast</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? super E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;clazz)</code>
<div class="block">Converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> whose members are automatically down-cast to
a given type.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#cast-java.util.Iterator-java.lang.Class-">cast</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;?&gt;&nbsp;iter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;clazz)</code>
<div class="block">Converts a iterator whose members are automatically down-cast to a given
type.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#cast-java.util.List-java.lang.Class-">cast</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;? super E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;clazz)</code>
<div class="block">Converts a list whose members are automatically down-cast to a given
type.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<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/Util.html#commaList-java.util.List-">commaList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;list)</code>
<div class="block">Converts a list of a string, with commas between elements.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#contains-java.lang.String:A-int-java.lang.String-">contains</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>[]&nbsp;a,
int&nbsp;length,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block">Returns whether an array of strings contains a given string among the
first <code>length</code> entries.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#debugCode-java.io.PrintStream-java.lang.String-">debugCode</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="java.io中的类或接口">PrintStream</a>&nbsp;out,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;code)</code>
<div class="block">Prints the given code with line numbering.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#deprecated-T-boolean-">deprecated</a></span>(T&nbsp;argument,
boolean&nbsp;fail)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">If a piece of code calls this method, it indicates that the
code needs to be cleaned up.</span></div>
</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#discard-boolean-">discard</a></span>(boolean&nbsp;b)</code>
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#discard-double-">discard</a></span>(double&nbsp;d)</code>
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#discard-int-">discard</a></span>(int&nbsp;i)</code>
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#discard-java.lang.Object-">discard</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;o)</code>
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#distinctList-java.lang.Iterable-">distinctList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;keys)</code>
<div class="block">Converts an iterable into a list with unique elements.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#distinctList-java.util.List-">distinctList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Converts a list into a list with unique elements.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;T&gt;&gt;<br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>,T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#enumConstants-java.lang.Class-">enumConstants</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;T&gt;&nbsp;clazz)</code>
<div class="block">Creates a map of the values of an enumeration by name.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;T&gt;&gt;<br>T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#enumVal-java.lang.Class-java.lang.String-">enumVal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</code>
<div class="block">Returns the value of an enumeration with a particular name.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;T&gt;&gt;<br>T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#enumVal-T-java.lang.String-">enumVal</a></span>(T&nbsp;default_,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</code>
<div class="block">Returns the value of an enumeration with a particular or default value if
not found.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#equalShallow-java.util.List-java.util.List-">equalShallow</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;? extends T&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;? extends T&gt;&nbsp;list1)</code>
<div class="block">Returns whether two lists are equal to each other using shallow
comparisons.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#filter-java.util.Collection-java.lang.Class-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;?&gt;&nbsp;collection,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;includeFilter)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#filter-java.lang.Iterable-java.lang.Class-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;?&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;includeFilter)</code>
<div class="block">Makes a collection of untyped elements appear as a list of strictly typed
elements, by filtering out those which are not of the correct type.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#filter-java.lang.Iterable-java.util.function.Predicate-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="java.util.function中的类或接口">Predicate</a>&lt;E&gt;&nbsp;predicate)</code>
<div class="block">Filters an iterable.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#filter-java.util.Iterator-java.util.function.Predicate-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;E&gt;&nbsp;iterator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="java.util.function中的类或接口">Predicate</a>&lt;E&gt;&nbsp;predicate)</code>
<div class="block">Filters an iterator.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#filter-java.util.List-java.lang.Class-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;?&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;includeFilter)</code>
<div class="block">Returns a subset of a list containing only elements of a given type.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#findMatch-java.util.List-java.lang.String-boolean-">findMatch</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;strings,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;seek,
boolean&nbsp;caseSensitive)</code>
<div class="block">Looks for a string within a list of strings, using a given
case-sensitivity policy, and returns the position at which the first match
is found, or -1 if there are no matches.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Boolean-boolean-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="java.lang中的类或接口">Boolean</a>&nbsp;v0,
boolean&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="java.lang中的类或接口"><code>Boolean</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Byte-byte-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true" title="java.lang中的类或接口">Byte</a>&nbsp;v0,
byte&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true" title="java.lang中的类或接口"><code>Byte</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Character-char-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="java.lang中的类或接口">Character</a>&nbsp;v0,
char&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="java.lang中的类或接口"><code>Character</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Double-double-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="java.lang中的类或接口">Double</a>&nbsp;v0,
double&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="java.lang中的类或接口"><code>Double</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Float-float-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="java.lang中的类或接口">Float</a>&nbsp;v0,
float&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="java.lang中的类或接口"><code>Float</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Integer-int-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&nbsp;v0,
int&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口"><code>Integer</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Long-long-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="java.lang中的类或接口">Long</a>&nbsp;v0,
long&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="java.lang中的类或接口"><code>Long</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-java.lang.Short-short-">first</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true" title="java.lang中的类或接口">Short</a>&nbsp;v0,
short&nbsp;v1)</code>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true" title="java.lang中的类或接口"><code>Short</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#first-T-T-">first</a></span>(T&nbsp;v0,
T&nbsp;v1)</code>
<div class="block">Returns the first value if it is not null,
otherwise the second value.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#firstDuplicate-java.util.List-">firstDuplicate</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Returns the ordinal of the first element in the list which is equal to a
previous element in the list.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="java.nio.charset中的类或接口">Charset</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#getDefaultCharset--">getDefaultCharset</a></span>()</code>
<div class="block">Returns the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="java.nio.charset中的类或接口"><code>Charset</code></a> object representing the value of
<a href="../../../../org/apache/calcite/config/CalciteSystemProperty.html#DEFAULT_CHARSET"><code>CalciteSystemProperty.DEFAULT_CHARSET</code></a></div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>static <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/Util.html#getFileTimestamp--">getFileTimestamp</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>static <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/Util.html#getMessages-java.lang.Throwable-">getMessages</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;t)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>static <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/Util.html#getStackTrace-java.lang.Throwable-">getStackTrace</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;t)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <code>Throwables.getStackTraceAsString(Throwable)</code></span></div>
</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#hash-int-int-">hash</a></span>(int&nbsp;i,
int&nbsp;j)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#hash-java.lang.Object...-" title="java.util中的类或接口"><code>Objects.hash(Object...)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#hash-int-java.lang.Object-">hash</a></span>(int&nbsp;h,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#hash-java.lang.Object...-" title="java.util中的类或接口"><code>Objects.hash(Object...)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#hashArray-int-java.lang.Object:A-">hashArray</a></span>(int&nbsp;h,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>[]&nbsp;a)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#hash-java.lang.Object...-" title="java.util中的类或接口"><code>Objects.hash(Object...)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#hashCode-double-">hashCode</a></span>(double&nbsp;v)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/calcite/runtime/Utilities.html#hashCode-double-"><code>Utilities.hashCode(double)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>static <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/Util.html#human-double-">human</a></span>(double&nbsp;d)</code>
<div class="block">Converts a number into human-readable form, with 3 digits and a "K", "M"
or "G" multiplier for thousands, millions or billions.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#immutableCopy-java.lang.Iterable-">immutableCopy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&gt;&nbsp;lists)</code>
<div class="block">Returns a copy of a list of lists, making the component lists immutable if
they are not already.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#intersects-java.util.Collection-java.util.Collection-">intersects</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;E&gt;&nbsp;c0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;E&gt;&nbsp;c1)</code>
<div class="block">Returns whether two collections have any elements in common.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#isDistinct-java.util.List-">isDistinct</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Returns whether the elements of <code>list</code> are distinct.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#isNullOrEmpty-java.lang.String-">isNullOrEmpty</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#isSingleValue-org.apache.calcite.sql.SqlCall-">isSingleValue</a></span>(<a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a>&nbsp;call)</code>
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#isValidJavaIdentifier-java.lang.String-">isValidJavaIdentifier</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block">Returns true when input string is a valid Java identifier.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;E</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#last-java.util.List-">last</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Returns the last element of a list.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#last-java.util.List-int-">last</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</code>
<div class="block">Returns the last <code>n</code> elements of a list.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>static <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/Util.html#lines-java.lang.Iterable-">lines</a></span>(<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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;strings)</code>
<div class="block">Converts a list of strings to a string separated by newlines.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>static <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/Util.html#listToString-java.util.List-">listToString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;list)</code>
<div class="block">Converts ["ab", "c"] to "ab"."</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#mapOf-K-V-java.lang.Object...-">mapOf</a></span>(K&nbsp;key,
V&nbsp;value,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>...&nbsp;keyValues)</code>
<div class="block">Returns a hashmap with given contents.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#matches-boolean-java.lang.String-java.lang.String-">matches</a></span>(boolean&nbsp;caseSensitive,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s1)</code>
<div class="block">Returns whether a name matches another according to a given
case-sensitivity policy.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#minus-java.util.Set-java.util.Set-">minus</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;T&gt;&nbsp;set1,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;T&gt;&nbsp;set2)</code>
<div class="block">Returns a set of the elements which are in <code>set1</code> but not in
<code>set2</code>, without modifying either.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口">RuntimeException</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#needToImplement-java.lang.Object-">needToImplement</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;o)</code>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> indicating that a particular
feature has not been implemented, but should be.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#newInternal--">newInternal</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a></span></div>
</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#newInternal-java.lang.String-">newInternal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a></span></div>
</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#newInternal-java.lang.Throwable-">newInternal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;e)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> if checked; throw raw
exception if unchecked or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口"><code>Error</code></a></span></div>
</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#newInternal-java.lang.Throwable-java.lang.String-">newInternal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;e,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a> if applicable;
or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> if e is checked;
or raw exception if e is unchecked or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口"><code>Error</code></a>.</span></div>
</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#nLogN-double-">nLogN</a></span>(double&nbsp;d)</code>
<div class="block">Computes <code>nlogn(n)</code> using the natural logarithm (or <code>
n</code> if <code>n &lt; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html?is-external=true#E" title="java.lang中的类或接口"><code>Math.E</code></a></code>, so the result is never
negative.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#orEmpty-java.lang.Iterable-">orEmpty</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;v0)</code>&nbsp;</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/calcite/util/Pair.html" title="org.apache.calcite.util中的类">Pair</a>&lt;E,E&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#pairs-java.util.List-">pairs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Given a list with N elements
[e<sub>0</sub>, e<sub>1</sub>, ..., e<sub>N-1</sub>]
(where N is even), returns a list of the N / 2 elements
[ (e<sub>0</sub>, e<sub>1</sub>),
(e<sub>2</sub>, e<sub>3</sub>), ... ].</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true" title="java.util中的类或接口">Locale</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#parseLocale-java.lang.String-">parseLocale</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;localeString)</code>
<div class="block">Parses a locale string.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#permAssert-boolean-java.lang.String-">permAssert</a></span>(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;description)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code></span></div>
</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#post-boolean-java.lang.String-">post</a></span>(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;description)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#requireNonNull-T-" title="java.util中的类或接口"><code>Objects.requireNonNull(Object)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#pre-boolean-java.lang.String-">pre</a></span>(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;description)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#requireNonNull-T-" title="java.util中的类或接口"><code>Objects.requireNonNull(Object)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#print-java.io.PrintWriter-java.lang.Object-">print</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</code>
<div class="block">Prints an object using reflection.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#print-java.io.PrintWriter-java.lang.Object-int-">print</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o,
int&nbsp;indent)</code>&nbsp;</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#printJavaString-java.lang.Appendable-java.lang.String-boolean-">printJavaString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="java.lang中的类或接口">Appendable</a>&nbsp;appendable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
boolean&nbsp;nullMeansNull)</code>
<div class="block">Prints a string, enclosing in double quotes (") and escaping if
necessary.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#println-java.io.PrintWriter-java.lang.Object-">println</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#printWriter-java.io.File-">printWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="java.io中的类或接口">File</a>&nbsp;file)</code>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口"><code>PrintWriter</code></a> to a given file using UTF-8
character set.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#printWriter-java.io.OutputStream-">printWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="java.io中的类或接口">OutputStream</a>&nbsp;out)</code>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口"><code>PrintWriter</code></a> to a given output stream using UTF-8
character set.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#quotientList-java.util.List-int-int-">quotientList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n,
int&nbsp;k)</code>
<div class="block">Creates a list that returns every <code>n</code>th element of a list,
starting at element <code>k</code>.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#range-int-">range</a></span>(int&nbsp;end)</code>&nbsp;</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#range-int-int-">range</a></span>(int&nbsp;start,
int&nbsp;end)</code>&nbsp;</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>static <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/Util.html#readAllAsString-java.io.Reader-">readAllAsString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="java.io中的类或接口">Reader</a>&nbsp;reader)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口">BufferedReader</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#reader-java.io.File-">reader</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="java.io中的类或接口">File</a>&nbsp;file)</code>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口"><code>BufferedReader</code></a> to read a given file using UTF-8
character set.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口">BufferedReader</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#reader-java.io.InputStream-">reader</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="java.io中的类或接口">InputStream</a>&nbsp;in)</code>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口"><code>BufferedReader</code></a> to a given input stream using UTF-8
character set.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>static <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/Util.html#replace-java.lang.String-java.lang.String-java.lang.String-">replace</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;find,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;replace)</code>
<div class="block">Replaces every occurrence of <code>find</code> in <code>s</code> with
<code>replace</code>.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>static <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/Util.html#rpad-java.lang.String-int-">rpad</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
int&nbsp;len)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <code>Spaces.padRight(String, int)</code></span></div>
</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>static <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/Util.html#rtrim-java.lang.String-">rtrim</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#select-java.util.List-java.util.List-">select</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;ordinals)</code>
<div class="block">Returns a view of a list, picking the elements of a list with the given
set of ordinals.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<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/Util.html#sepList-java.util.List-java.lang.String-">sepList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep)</code>
<div class="block">Converts a list of a string, with a given separator between elements.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#skip-java.util.List-">skip</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Returns all but the first element of a list.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#skip-java.util.List-int-">skip</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;fromIndex)</code>
<div class="block">Returns all but the first <code>n</code> elements of a list.</div>
</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#skipLast-java.util.List-">skipLast</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</code>
<div class="block">Returns every element of a list but its last element.</div>
</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#skipLast-java.util.List-int-">skipLast</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</code>
<div class="block">Returns every element of a list but its last <code>n</code> elements.</div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchConnection-java.sql.Connection-">squelchConnection</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="java.sql中的类或接口">Connection</a>&nbsp;connection)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchJar-java.util.jar.JarFile-">squelchJar</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarFile.html?is-external=true" title="java.util.jar中的类或接口">JarFile</a>&nbsp;jar)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchReader-java.io.Reader-">squelchReader</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="java.io中的类或接口">Reader</a>&nbsp;reader)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchStmt-java.sql.Statement-">squelchStmt</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Statement.html?is-external=true" title="java.sql中的类或接口">Statement</a>&nbsp;stmt)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchStream-java.io.InputStream-">squelchStream</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="java.io中的类或接口">InputStream</a>&nbsp;stream)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchStream-java.io.OutputStream-">squelchStream</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="java.io中的类或接口">OutputStream</a>&nbsp;stream)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#squelchWriter-java.io.Writer-">squelchWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="java.io中的类或接口">Writer</a>&nbsp;writer)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#startsWith-java.util.List-java.util.List-">startsWith</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list1)</code>
<div class="block">Returns whether one list is a prefix of another.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#stringToList-java.lang.String-">stringToList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>&nbsp;</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>static <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/Util.html#stripDoubleQuotes-java.lang.String-">stripDoubleQuotes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;value)</code>
<div class="block">Converts double-quoted Java strings to their contents.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#swallow-java.lang.Throwable-org.slf4j.Logger-">swallow</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;e,
org.slf4j.Logger&nbsp;logger)</code>
<div class="block">Records that an exception has been caught but will not be re-thrown.</div>
</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#throwIfUnchecked-java.lang.Throwable-">throwIfUnchecked</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;throwable)</code>
<div class="block">As <code>Throwables</code><code>.throwIfUnchecked(Throwable)</code>,
which was introduced in Guava 20,
but we don't require Guava version 20 yet.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collector.html?is-external=true" title="java.util.stream中的类或接口">Collector</a>&lt;T,com.google.common.collect.ImmutableList.Builder&lt;T&gt;,com.google.common.collect.ImmutableList&lt;T&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#toImmutableList--">toImmutableList</a></span>()</code>
<div class="block">Returns a <code>Collector</code> that accumulates the input elements into a
Guava <code>ImmutableList</code> via a <code>ImmutableList.Builder</code>.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>static <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/Util.html#toJavaId-java.lang.String-int-">toJavaId</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
int&nbsp;ordinal)</code>
<div class="block">Converts an arbitrary string into a string suitable for use as a Java
identifier.</div>
</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>static <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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#tokenize-java.lang.String-java.lang.String-">tokenize</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;delim)</code>
<div class="block">Converts a string into tokens.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>static <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/Util.html#toLinux-java.lang.String-">toLinux</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>&nbsp;</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#toList-java.util.Iterator-">toList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;T&gt;&nbsp;iter)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#toMap-java.util.Properties-">toMap</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口">Properties</a>&nbsp;properties)</code>
<div class="block">Converts a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口"><code>Properties</code></a> object to a <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口"><code>Map</code></a>&lt;String,
String&gt;</code>.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code>static <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/Util.html#toPosix-java.util.TimeZone-boolean-">toPosix</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html?is-external=true" title="java.util中的类或接口">TimeZone</a>&nbsp;tz,
boolean&nbsp;verbose)</code>
<div class="block">Converts a Java timezone to POSIX format, so that the boost C++ library
can instantiate timezone objects.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>static <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/Util.html#toScientificNotation-java.math.BigDecimal-">toScientificNotation</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口">BigDecimal</a>&nbsp;bd)</code>
<div class="block">Formats a <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口"><code>BigDecimal</code></a> value to a string in scientific notation For
example<br>
A value of 0.00001234 would be formated as <code>1.234E-5</code>
A value of 100000.00 would be formated as <code>1.00E5</code>
A value of 100 (scale zero) would be formated as
<code>1E2</code>
If <code>bd</code> has a precision higher than 20, this method will
truncate the output string to have a precision of 20 (no rounding will be
done, just a truncate).</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<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/Util.html#toString-java.lang.Iterable-java.lang.String-java.lang.String-java.lang.String-">toString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;start,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;end)</code>
<div class="block">Converts an iterable to a string.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口">RuntimeException</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#toUnchecked-java.lang.Exception-">toUnchecked</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="java.lang中的类或接口">Exception</a>&nbsp;e)</code>
<div class="block">Wraps an exception with <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> and return it.</div>
</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="java.net中的类或接口">URL</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#toURL-java.io.File-">toURL</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="java.io中的类或接口">File</a>&nbsp;file)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>static &lt;F,T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#transform-java.util.List-java.util.function.Function-">transform</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;F&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="java.util.function中的类或接口">Function</a>&lt;F,T&gt;&nbsp;function)</code>
<div class="block">Transforms a list, applying a function to each element.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>static &lt;E extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/Util.html#unexpected-E-">unexpected</a></span>(E&nbsp;value)</code>
<div class="block">Returns an exception indicating that we didn't expect to find this
enumeration here.</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#clone--" title="java.lang中的类或接口">clone</a>, <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>, <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#hashCode--" title="java.lang中的类或接口">hashCode</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#toString--" title="java.lang中的类或接口">toString</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>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>字段详细资料</h3>
<a name="LINE_SEPARATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LINE_SEPARATOR</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> LINE_SEPARATOR</pre>
<div class="block">System-dependent newline character.
<p>In general, you should not use this in expected results of tests.
Expected results should be the expected result on Linux (or Mac OS) using
'\n'. Apply <a href="../../../../org/apache/calcite/util/Util.html#toLinux-java.lang.String-"><code>toLinux(String)</code></a> to Windows actual results, if
necessary, to make them look like Linux actual.</p></div>
</li>
</ul>
<a name="FILE_SEPARATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FILE_SEPARATOR</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> FILE_SEPARATOR</pre>
<div class="block">System-dependent file separator, for example, "/" or "\."</div>
</li>
</ul>
<a name="FILE_TIMESTAMP_FORMAT">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FILE_TIMESTAMP_FORMAT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> FILE_TIMESTAMP_FORMAT</pre>
<div class="block">Datetime format string for generating a timestamp string to be used as
part of a filename. Conforms to SimpleDateFormat conventions.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.calcite.util.Util.FILE_TIMESTAMP_FORMAT">常量字段值</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="isSingleValue-org.apache.calcite.sql.SqlCall-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSingleValue</h4>
<pre>public static&nbsp;boolean&nbsp;isSingleValue(<a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a>&nbsp;call)</pre>
<div class="block">Does nothing with its argument. Returns whether it is ensured that
the call produces a single value</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>call</code> - the expression to evaluate</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Whether it is ensured that the call produces a single value</dd>
</dl>
</li>
</ul>
<a name="discard-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>discard</h4>
<pre>public static&nbsp;void&nbsp;discard(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</pre>
<div class="block">Does nothing with its argument. Call this method when you have a value
you are not interested in, but you don't want the compiler to warn that
you are not using it.</div>
</li>
</ul>
<a name="discard-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>discard</h4>
<pre>public static&nbsp;void&nbsp;discard(int&nbsp;i)</pre>
<div class="block">Does nothing with its argument. Call this method when you have a value
you are not interested in, but you don't want the compiler to warn that
you are not using it.</div>
</li>
</ul>
<a name="discard-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>discard</h4>
<pre>public static&nbsp;void&nbsp;discard(boolean&nbsp;b)</pre>
<div class="block">Does nothing with its argument. Call this method when you have a value
you are not interested in, but you don't want the compiler to warn that
you are not using it.</div>
</li>
</ul>
<a name="discard-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>discard</h4>
<pre>public static&nbsp;void&nbsp;discard(double&nbsp;d)</pre>
<div class="block">Does nothing with its argument. Call this method when you have a value
you are not interested in, but you don't want the compiler to warn that
you are not using it.</div>
</li>
</ul>
<a name="swallow-java.lang.Throwable-org.slf4j.Logger-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>swallow</h4>
<pre>public static&nbsp;void&nbsp;swallow(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;e,
org.slf4j.Logger&nbsp;logger)</pre>
<div class="block">Records that an exception has been caught but will not be re-thrown. If
the tracer is not null, logs the exception to the tracer.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>e</code> - Exception</dd>
<dd><code>logger</code> - If not null, logs exception to this logger</dd>
</dl>
</li>
</ul>
<a name="equalShallow-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equalShallow</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;boolean&nbsp;equalShallow(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;? extends T&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;? extends T&gt;&nbsp;list1)</pre>
<div class="block">Returns whether two lists are equal to each other using shallow
comparisons.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>list0</code> - First list</dd>
<dd><code>list1</code> - Second list</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Whether lists are same length and all of their elements are
equal using <code>==</code> (may be null).</dd>
</dl>
</li>
</ul>
<a name="hash-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hash</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;int&nbsp;hash(int&nbsp;i,
int&nbsp;j)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#hash-java.lang.Object...-" title="java.util中的类或接口"><code>Objects.hash(Object...)</code></a></span></div>
<div class="block">Combines two integers into a hash code.</div>
</li>
</ul>
<a name="hash-int-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hash</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;int&nbsp;hash(int&nbsp;h,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#hash-java.lang.Object...-" title="java.util中的类或接口"><code>Objects.hash(Object...)</code></a></span></div>
<div class="block">Computes a hash code from an existing hash code and an object (which may
be null).</div>
</li>
</ul>
<a name="hashArray-int-java.lang.Object:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashArray</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;int&nbsp;hashArray(int&nbsp;h,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>[]&nbsp;a)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#hash-java.lang.Object...-" title="java.util中的类或接口"><code>Objects.hash(Object...)</code></a></span></div>
<div class="block">Computes a hash code from an existing hash code and an array of objects
(which may be null).</div>
</li>
</ul>
<a name="hashCode-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;int&nbsp;hashCode(double&nbsp;v)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/calcite/runtime/Utilities.html#hashCode-double-"><code>Utilities.hashCode(double)</code></a></span></div>
<div class="block">Computes the hash code of a <code>double</code> value. Equivalent to
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="java.lang中的类或接口"><code>Double</code></a><code>.hashCode(double)</code>, but that method was only
introduced in JDK 1.8.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>v</code> - Value</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Hash code</dd>
</dl>
</li>
</ul>
<a name="minus-java.util.Set-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;T&gt;&nbsp;minus(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;T&gt;&nbsp;set1,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;T&gt;&nbsp;set2)</pre>
<div class="block">Returns a set of the elements which are in <code>set1</code> but not in
<code>set2</code>, without modifying either.</div>
</li>
</ul>
<a name="nLogN-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nLogN</h4>
<pre>public static&nbsp;double&nbsp;nLogN(double&nbsp;d)</pre>
<div class="block">Computes <code>nlogn(n)</code> using the natural logarithm (or <code>
n</code> if <code>n &lt; <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html?is-external=true#E" title="java.lang中的类或接口"><code>Math.E</code></a></code>, so the result is never
negative.</div>
</li>
</ul>
<a name="print-java.io.PrintWriter-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public static&nbsp;void&nbsp;print(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</pre>
<div class="block">Prints an object using reflection. We can handle <code>null</code>;
arrays of objects and primitive values; for regular objects, we print all
public fields.</div>
</li>
</ul>
<a name="print-java.io.PrintWriter-java.lang.Object-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public static&nbsp;void&nbsp;print(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o,
int&nbsp;indent)</pre>
</li>
</ul>
<a name="printJavaString-java.lang.Appendable-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>printJavaString</h4>
<pre>public static&nbsp;void&nbsp;printJavaString(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="java.lang中的类或接口">Appendable</a>&nbsp;appendable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
boolean&nbsp;nullMeansNull)</pre>
<div class="block">Prints a string, enclosing in double quotes (") and escaping if
necessary. For example, <code>printDoubleQuoted(w,"x\"y",false)</code>
prints <code>"x\"y"</code>.
<p>The appendable where the value is printed must not incur I/O operations. This method is
not meant to be used for writing the values to permanent storage.</p></div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="java.lang中的类或接口">IllegalStateException</a></code> - if the print to the specified appendable fails due to I/O</dd>
</dl>
</li>
</ul>
<a name="println-java.io.PrintWriter-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>println</h4>
<pre>public static&nbsp;void&nbsp;println(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</pre>
</li>
</ul>
<a name="toScientificNotation-java.math.BigDecimal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toScientificNotation</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toScientificNotation(<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口">BigDecimal</a>&nbsp;bd)</pre>
<div class="block">Formats a <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口"><code>BigDecimal</code></a> value to a string in scientific notation For
example<br>
<ul>
<li>A value of 0.00001234 would be formated as <code>1.234E-5</code></li>
<li>A value of 100000.00 would be formated as <code>1.00E5</code></li>
<li>A value of 100 (scale zero) would be formated as
<code>1E2</code></li>
</ul>
<p>If <code>bd</code> has a precision higher than 20, this method will
truncate the output string to have a precision of 20 (no rounding will be
done, just a truncate).</div>
</li>
</ul>
<a name="replace-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replace</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;replace(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;find,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;replace)</pre>
<div class="block">Replaces every occurrence of <code>find</code> in <code>s</code> with
<code>replace</code>.</div>
</li>
</ul>
<a name="toURL-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toURL</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="java.net中的类或接口">URL</a>&nbsp;toURL(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="java.io中的类或接口">File</a>&nbsp;file)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/net/MalformedURLException.html?is-external=true" title="java.net中的类或接口">MalformedURLException</a></pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Creates a file-protocol URL for the given file.</div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/net/MalformedURLException.html?is-external=true" title="java.net中的类或接口">MalformedURLException</a></code></dd>
</dl>
</li>
</ul>
<a name="getFileTimestamp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFileTimestamp</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;getFileTimestamp()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Gets a timestamp string for use in file names. The generated timestamp
string reflects the current time.</div>
</li>
</ul>
<a name="stripDoubleQuotes-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripDoubleQuotes</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;stripDoubleQuotes(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;value)</pre>
<div class="block">Converts double-quoted Java strings to their contents. For example,
<code>"foo\"bar"</code> becomes <code>foo"bar</code>.</div>
</li>
</ul>
<a name="toJavaId-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toJavaId</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toJavaId(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
int&nbsp;ordinal)</pre>
<div class="block">Converts an arbitrary string into a string suitable for use as a Java
identifier.
<p>The mapping is one-to-one (that is, distinct strings will produce
distinct java identifiers). The mapping is also reversible, but the
inverse mapping is not implemented.</p>
<p>A valid Java identifier must start with a Unicode letter, underscore,
or dollar sign ($). The other characters, if any, can be a Unicode
letter, underscore, dollar sign, or digit.</p>
<p>This method uses an algorithm similar to URL encoding. Valid
characters are unchanged; invalid characters are converted to an
underscore followed by the hex code of the character; and underscores are
doubled.</p>
<p>Examples:
<ul>
<li><code>toJavaId("foo")</code> returns <code>"foo"</code>
<li><code>toJavaId("foo bar")</code> returns <code>"foo_20_bar"</code>
<li><code>toJavaId("foo_bar")</code> returns <code>"foo__bar"</code>
<li><code>toJavaId("0bar")</code> returns <code>"_40_bar"</code> (digits
are illegal as a prefix)
<li><code>toJavaId("foo0bar")</code> returns <code>"foo0bar"</code>
</ul></div>
</li>
</ul>
<a name="isValidJavaIdentifier-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidJavaIdentifier</h4>
<pre>public static&nbsp;boolean&nbsp;isValidJavaIdentifier(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block">Returns true when input string is a valid Java identifier.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>s</code> - input string</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>true when input string is a valid Java identifier</dd>
</dl>
</li>
</ul>
<a name="toLinux-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toLinux</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toLinux(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
</li>
</ul>
<a name="toList-java.util.Iterator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toList</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;toList(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;T&gt;&nbsp;iter)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Materializes the results of a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口"><code>Iterator</code></a> as a
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a>.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>iter</code> - iterator to materialize</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>materialized list</dd>
</dl>
</li>
</ul>
<a name="isNullOrEmpty-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNullOrEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNullOrEmpty(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>true if s==null or if s.length()==0</dd>
</dl>
</li>
</ul>
<a name="commaList-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commaList</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;commaList(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;list)</pre>
<div class="block">Converts a list of a string, with commas between elements.
<p>For example,
<code>commaList(Arrays.asList({"a", "b"}))</code>
returns "a, b".</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>list</code> - List</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>String representation of string</dd>
</dl>
</li>
</ul>
<a name="sepList-java.util.List-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sepList</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sepList(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep)</pre>
<div class="block">Converts a list of a string, with a given separator between elements.</div>
</li>
</ul>
<a name="getDefaultCharset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultCharset</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="java.nio.charset中的类或接口">Charset</a>&nbsp;getDefaultCharset()</pre>
<div class="block">Returns the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="java.nio.charset中的类或接口"><code>Charset</code></a> object representing the value of
<a href="../../../../org/apache/calcite/config/CalciteSystemProperty.html#DEFAULT_CHARSET"><code>CalciteSystemProperty.DEFAULT_CHARSET</code></a></div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/IllegalCharsetNameException.html?is-external=true" title="java.nio.charset中的类或接口">IllegalCharsetNameException</a></code> - If the given charset
name is illegal</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/UnsupportedCharsetException.html?is-external=true" title="java.nio.charset中的类或接口">UnsupportedCharsetException</a></code> - If no support for
the named charset is
available in this
instance of the Java
virtual machine</dd>
</dl>
</li>
</ul>
<a name="newInternal--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInternal</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a>&nbsp;newInternal()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a></span></div>
</li>
</ul>
<a name="newInternal-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInternal</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a>&nbsp;newInternal(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a></span></div>
</li>
</ul>
<a name="newInternal-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInternal</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a>&nbsp;newInternal(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;e)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> if checked; throw raw
exception if unchecked or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口"><code>Error</code></a></span></div>
</li>
</ul>
<a name="newInternal-java.lang.Throwable-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInternal</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a>&nbsp;newInternal(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;e,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a> if applicable;
or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> if e is checked;
or raw exception if e is unchecked or <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口"><code>Error</code></a>.</span></div>
</li>
</ul>
<a name="throwIfUnchecked-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>throwIfUnchecked</h4>
<pre>public static&nbsp;void&nbsp;throwIfUnchecked(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;throwable)</pre>
<div class="block">As <code>Throwables</code><code>.throwIfUnchecked(Throwable)</code>,
which was introduced in Guava 20,
but we don't require Guava version 20 yet.</div>
</li>
</ul>
<a name="toUnchecked-java.lang.Exception-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toUnchecked</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口">RuntimeException</a>&nbsp;toUnchecked(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="java.lang中的类或接口">Exception</a>&nbsp;e)</pre>
<div class="block">Wraps an exception with <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> and return it.
If the exception is already an instance of RuntimeException,
returns it directly.</div>
</li>
</ul>
<a name="getMessages-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessages</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;getMessages(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;t)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Retrieves messages in a exception and writes them to a string. In the
string returned, each message will appear on a different line.</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a non-null string containing all messages of the exception</dd>
</dl>
</li>
</ul>
<a name="getStackTrace-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStackTrace</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;getStackTrace(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="java.lang中的类或接口">Throwable</a>&nbsp;t)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <code>Throwables.getStackTraceAsString(Throwable)</code></span></div>
<div class="block">Returns the stack trace of a throwable. Called from native code.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>t</code> - Throwable</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Stack trace</dd>
</dl>
</li>
</ul>
<a name="pre-boolean-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pre</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;pre(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;description)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#requireNonNull-T-" title="java.util中的类或接口"><code>Objects.requireNonNull(Object)</code></a></span></div>
</li>
</ul>
<a name="post-boolean-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;post(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;description)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#requireNonNull-T-" title="java.util中的类或接口"><code>Objects.requireNonNull(Object)</code></a></span></div>
</li>
</ul>
<a name="permAssert-boolean-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permAssert</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;permAssert(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;description)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code></span></div>
</li>
</ul>
<a name="needToImplement-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>needToImplement</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口">RuntimeException</a>&nbsp;needToImplement(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;o)</pre>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="java.lang中的类或接口"><code>RuntimeException</code></a> indicating that a particular
feature has not been implemented, but should be.
<p>If every 'hole' in our functionality uses this method, it will be
easier for us to identity the holes. Throwing a
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="java.lang中的类或接口"><code>UnsupportedOperationException</code></a> isn't as good, because
sometimes we actually want to partially implement an API.
<p>Example usage:
<blockquote>
<pre><code>class MyVisitor extends BaseVisitor {
void accept(Foo foo) {
// Exception will identify which subclass forgot to override
// this method
throw Util.needToImplement(this);
}
}</code></pre>
</blockquote></div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>o</code> - The object which was the target of the call, or null. Passing
the object gives crucial information if a method needs to be
overridden and a subclass forgot to do so.</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="java.lang中的类或接口"><code>UnsupportedOperationException</code></a>.</dd>
</dl>
</li>
</ul>
<a name="deprecated-java.lang.Object-boolean-">
<!-- -->
</a><a name="deprecated-T-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deprecated</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T&nbsp;deprecated(T&nbsp;argument,
boolean&nbsp;fail)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">If a piece of code calls this method, it indicates that the
code needs to be cleaned up.</span></div>
<div class="block">Flags a piece of code as needing to be cleaned up before you check in.
<p>Introduce a call to this method to indicate that a piece of code, or a
javadoc comment, needs work before you check in. If you have an IDE which
can easily trace references, this is an easy way to maintain a to-do
list.
<p><strong>Checked-in code must never call this method</strong>: you must
remove all calls/references to this method before you check in.
<p>The <code>argument</code> has generic type and determines the type of
the result. This allows you to use the method inside an expression, for
example
<blockquote>
<pre><code>int x = Util.deprecated(0, false);</code></pre>
</blockquote>
<p>but the usual usage is to pass in a descriptive string.
<p><b>Examples</b>
<p><b>Example #1: Using <code>deprecated</code> to fail if a piece of
supposedly dead code is reached</b>
<blockquote>
<pre><code>void foo(int x) {
if (x &lt; 0) {
// If this code is executed, an error will be thrown.
Util.deprecated(
"no longer need to handle negative numbers", true);
bar(x);
} else {
baz(x);
}
}</code></pre>
</blockquote>
<p><b>Example #2: Using <code>deprecated</code> to comment out dead
code</b>
<blockquote>
<pre>if (Util.deprecated(false, false)) {
// This code will not be executed, but an error will not be thrown.
baz();
}</pre>
</blockquote></div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>argument</code> - Arbitrary argument to the method.</dd>
<dd><code>fail</code> - Whether to throw an exception if this method is called</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>The value of the <code>argument</code>.</dd>
</dl>
</li>
</ul>
<a name="contains-java.lang.String:A-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>[]&nbsp;a,
int&nbsp;length,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block">Returns whether an array of strings contains a given string among the
first <code>length</code> entries.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>a</code> - Array of strings</dd>
<dd><code>length</code> - Number of entries to search</dd>
<dd><code>s</code> - String to seek</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Whether array contains the name</dd>
</dl>
</li>
</ul>
<a name="readAllAsString-java.io.Reader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAllAsString</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;readAllAsString(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="java.io中的类或接口">Reader</a>&nbsp;reader)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="java.io中的类或接口">IOException</a></pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Reads all remaining contents from a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="java.io中的类或接口"><code>Reader</code></a> and returns
them as a string.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>reader</code> - reader to read from</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>reader contents as string</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="java.io中的类或接口">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="squelchJar-java.util.jar.JarFile-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchJar</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchJar(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarFile.html?is-external=true" title="java.util.jar中的类或接口">JarFile</a>&nbsp;jar)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes a Jar, ignoring any I/O exception. This should only be
used in finally blocks when it's necessary to avoid throwing an exception
which might mask a real exception.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>jar</code> - jar to close</dd>
</dl>
</li>
</ul>
<a name="squelchStream-java.io.InputStream-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchStream</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchStream(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="java.io中的类或接口">InputStream</a>&nbsp;stream)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes an InputStream, ignoring any I/O exception. This should only be
used in finally blocks when it's necessary to avoid throwing an exception
which might mask a real exception.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>stream</code> - stream to close</dd>
</dl>
</li>
</ul>
<a name="squelchStream-java.io.OutputStream-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchStream</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchStream(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="java.io中的类或接口">OutputStream</a>&nbsp;stream)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes an OutputStream, ignoring any I/O exception. This should only be
used in finally blocks when it's necessary to avoid throwing an exception
which might mask a real exception. If you want to make sure that data has
been successfully flushed, do NOT use this anywhere else; use
stream.close() instead.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>stream</code> - stream to close</dd>
</dl>
</li>
</ul>
<a name="squelchReader-java.io.Reader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchReader</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchReader(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="java.io中的类或接口">Reader</a>&nbsp;reader)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes a Reader, ignoring any I/O exception. This should only be used in
finally blocks when it's necessary to avoid throwing an exception which
might mask a real exception.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>reader</code> - reader to close</dd>
</dl>
</li>
</ul>
<a name="squelchWriter-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="java.io中的类或接口">Writer</a>&nbsp;writer)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes a Writer, ignoring any I/O exception. This should only be used in
finally blocks when it's necessary to avoid throwing an exception which
might mask a real exception. If you want to make sure that data has been
successfully flushed, do NOT use this anywhere else; use writer.close()
instead.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>writer</code> - writer to close</dd>
</dl>
</li>
</ul>
<a name="squelchStmt-java.sql.Statement-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchStmt</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchStmt(<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Statement.html?is-external=true" title="java.sql中的类或接口">Statement</a>&nbsp;stmt)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes a Statement, ignoring any SQL exception. This should only be used
in finally blocks when it's necessary to avoid throwing an exception
which might mask a real exception.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>stmt</code> - stmt to close</dd>
</dl>
</li>
</ul>
<a name="squelchConnection-java.sql.Connection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>squelchConnection</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;void&nbsp;squelchConnection(<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="java.sql中的类或接口">Connection</a>&nbsp;connection)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Closes a Connection, ignoring any SQL exception. This should only be used
in finally blocks when it's necessary to avoid throwing an exception
which might mask a real exception.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>connection</code> - connection to close</dd>
</dl>
</li>
</ul>
<a name="rtrim-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rtrim</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;rtrim(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Trims trailing spaces from a string.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>s</code> - string to be trimmed</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>trimmed string</dd>
</dl>
</li>
</ul>
<a name="rpad-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rpad</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;rpad(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
int&nbsp;len)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">Use <code>Spaces.padRight(String, int)</code></span></div>
<div class="block">Pads a string with spaces up to a given length.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>s</code> - string to be padded</dd>
<dd><code>len</code> - desired length</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>padded string</dd>
</dl>
</li>
</ul>
<a name="toString-java.lang.Iterable-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;&lt;T&gt;&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(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;start,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;end)</pre>
<div class="block">Converts an iterable to a string.</div>
</li>
</ul>
<a name="lines-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lines</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;lines(<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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;strings)</pre>
<div class="block">Converts a list of strings to a string separated by newlines.</div>
</li>
</ul>
<a name="tokenize-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tokenize</h4>
<pre>public static&nbsp;<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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;tokenize(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;delim)</pre>
<div class="block">Converts a string into tokens.</div>
</li>
</ul>
<a name="toPosix-java.util.TimeZone-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPosix</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toPosix(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html?is-external=true" title="java.util中的类或接口">TimeZone</a>&nbsp;tz,
boolean&nbsp;verbose)</pre>
<div class="block">Converts a Java timezone to POSIX format, so that the boost C++ library
can instantiate timezone objects.
<p><a
href="http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap08.html">POSIX
IEEE 1003.1</a> defines a format for timezone specifications.
<p>The boost C++ library can read these specifications and instantiate <a
href="http://www.boost.org/doc/html/date_time/local_time.html#date_time.local_time.posix_time_zone">
posix_time_zone</a> objects from them. The purpose of this method,
therefore, is to allow the C++ code such as the fennel calculator to use
the same notion of timezone as Java code.
<p>The format is as follows:
<blockquote>"std offset dst [offset],start[/time],end[/time]"
</blockquote>
<p>where:
<ul>
<li>'std' specifies the abbrev of the time zone.
<li>'offset' is the offset from UTC, and takes the form
<code>[+|-]hh[:mm[:ss]] {h=0-23, m/s=0-59}</code></li>
<li>'dst' specifies the abbrev of the time zone during daylight savings
time
<li>The second offset is how many hours changed during DST. Default=1
<li>'start' and 'end' are the dates when DST goes into (and out of)
effect.<br>
<br>
They can each be one of three forms:
<ol>
<li>Mm.w.d {month=1-12, week=1-5 (5 is always last), day=0-6}
<li>Jn {n=1-365 Feb29 is never counted}
<li>n {n=0-365 Feb29 is counted in leap years}
</ol>
</li>
<li>'time' has the same format as 'offset', and defaults to 02:00:00.</li>
</ul>
<p>For example:</p>
<ul>
<li>"PST-8PDT01:00:00,M4.1.0/02:00:00,M10.1.0/02:00:00"; or more tersely
<li>"PST-8PDT,M4.1.0,M10.1.0"
</ul>
<p>(Real format strings do not contain spaces; they are in the above
template only for readability.)
<p>Boost apparently diverges from the POSIX standard in how it treats the
sign of timezone offsets. The POSIX standard states '<i>If preceded by a
'-', the timezone shall be east of the Prime Meridian; otherwise, it
shall be west</i>', yet boost requires the opposite. For instance, PST
has offset '-8' above. This method generates timezone strings consistent
with boost's expectations.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>tz</code> - Timezone</dd>
<dd><code>verbose</code> - Whether to include fields which can be omitted because
they have their default values</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Timezone in POSIX format (offset sign reversed, per boost's
idiosyncracies)</dd>
</dl>
</li>
</ul>
<a name="parseLocale-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseLocale</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true" title="java.util中的类或接口">Locale</a>&nbsp;parseLocale(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;localeString)</pre>
<div class="block">Parses a locale string.
<p>The inverse operation of <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true#toString--" title="java.util中的类或接口"><code>Locale.toString()</code></a>.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>localeString</code> - Locale string, e.g. "en" or "en_US"</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Java locale object</dd>
</dl>
</li>
</ul>
<a name="cast-java.util.List-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;cast(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;? super E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;clazz)</pre>
<div class="block">Converts a list whose members are automatically down-cast to a given
type.
<p>If a member of the backing list is not an instanceof <code>E</code>,
the accessing method (such as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#get-int-" title="java.util中的类或接口"><code>List.get(int)</code></a>) will throw a
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassCastException.html?is-external=true" title="java.lang中的类或接口"><code>ClassCastException</code></a>.
<p>All modifications are automatically written to the backing list. Not
synchronized.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>list</code> - Backing list.</dd>
<dd><code>clazz</code> - Class to cast to.</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>A list whose members are of the desired type.</dd>
</dl>
</li>
</ul>
<a name="cast-java.util.Iterator-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;E&gt;&nbsp;cast(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;?&gt;&nbsp;iter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;clazz)</pre>
<div class="block">Converts a iterator whose members are automatically down-cast to a given
type.
<p>If a member of the backing iterator is not an instanceof <code>
E</code>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#next--" title="java.util中的类或接口"><code>Iterator.next()</code></a>) will throw a
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassCastException.html?is-external=true" title="java.lang中的类或接口"><code>ClassCastException</code></a>.
<p>All modifications are automatically written to the backing iterator.
Not synchronized.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>iter</code> - Backing iterator.</dd>
<dd><code>clazz</code> - Class to cast to.</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>An iterator whose members are of the desired type.</dd>
</dl>
</li>
</ul>
<a name="cast-java.lang.Iterable-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;cast(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? super E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;clazz)</pre>
<div class="block">Converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> whose members are automatically down-cast to
a given type.
<p>All modifications are automatically written to the backing iterator.
Not synchronized.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>iterable</code> - Backing iterable</dd>
<dd><code>clazz</code> - Class to cast to</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>An iterable whose members are of the desired type.</dd>
</dl>
</li>
</ul>
<a name="filter-java.lang.Iterable-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;?&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;includeFilter)</pre>
<div class="block">Makes a collection of untyped elements appear as a list of strictly typed
elements, by filtering out those which are not of the correct type.
<p>The returned object is an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a>,
which makes it ideal for use with the 'foreach' construct. For example,
<blockquote><code>List&lt;Number&gt; numbers = Arrays.asList(1, 2, 3.14,
4, null, 6E23);<br>
for (int myInt : filter(numbers, Integer.class)) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;print(i);<br>
}</code></blockquote>
<p>will print 1, 2, 4.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>iterable</code> - Iterable</dd>
<dd><code>includeFilter</code> - Class whose instances to include</dd>
</dl>
</li>
</ul>
<a name="filter-java.util.Collection-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;E&gt;&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;?&gt;&nbsp;collection,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;includeFilter)</pre>
</li>
</ul>
<a name="filter-java.util.List-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;?&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;E&gt;&nbsp;includeFilter)</pre>
<div class="block">Returns a subset of a list containing only elements of a given type.
<p>Modifications to the list are NOT written back to the source list.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>list</code> - List of objects</dd>
<dd><code>includeFilter</code> - Class to filter for</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>List of objects of given class (or a subtype)</dd>
</dl>
</li>
</ul>
<a name="toMap-java.util.Properties-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toMap</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;toMap(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口">Properties</a>&nbsp;properties)</pre>
<div class="block">Converts a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口"><code>Properties</code></a> object to a <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口"><code>Map</code></a>&lt;String,
String&gt;</code>.
<p>This is necessary because <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口"><code>Properties</code></a> is a dinosaur class. It
ought to extend <code>Map&lt;String,String&gt;</code>, but instead
extends <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true" title="java.util中的类或接口"><code>Hashtable</code></a>&lt;Object,Object&gt;</code>.
<p>Typical usage, to iterate over a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口"><code>Properties</code></a>:
<blockquote>
<code>
Properties properties;<br>
for (Map.Entry&lt;String, String&gt; entry =
Util.toMap(properties).entrySet()) {<br>
println("key=" + entry.getKey() + ", value=" + entry.getValue());<br>
}
</code>
</blockquote></div>
</li>
</ul>
<a name="mapOf-java.lang.Object-java.lang.Object-java.lang.Object:A-">
<!-- -->
</a><a name="mapOf-K-V-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapOf</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;&nbsp;mapOf(K&nbsp;key,
V&nbsp;value,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>...&nbsp;keyValues)</pre>
<div class="block">Returns a hashmap with given contents.
<p>Use this method in initializers. Type parameters are inferred from
context, and the contents are initialized declaratively. For example,
<blockquote><code>Map&lt;String, Integer&gt; population =<br>
&nbsp;&nbsp;Olap4jUtil.mapOf(<br>
&nbsp;&nbsp;&nbsp;&nbsp;"UK", 65000000,<br>
&nbsp;&nbsp;&nbsp;&nbsp;"USA", 300000000);</code></blockquote></div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>K</code> - Key type</dd>
<dd><code>V</code> - Value type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>key</code> - First key</dd>
<dd><code>value</code> - First value</dd>
<dd><code>keyValues</code> - Second and sequent key/value pairs</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Map with given contents</dd>
</dl>
</li>
</ul>
<a name="unexpected-java.lang.Enum-">
<!-- -->
</a><a name="unexpected-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unexpected</h4>
<pre>public static&nbsp;&lt;E extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;E&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="java.lang中的类或接口">Error</a>&nbsp;unexpected(E&nbsp;value)</pre>
<div class="block">Returns an exception indicating that we didn't expect to find this
enumeration here.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - Enumeration value which was not expected</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>an error, to be thrown</dd>
</dl>
</li>
</ul>
<a name="enumConstants-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumConstants</h4>
<pre>public static&nbsp;&lt;T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;T&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>,T&gt;&nbsp;enumConstants(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;T&gt;&nbsp;clazz)</pre>
<div class="block">Creates a map of the values of an enumeration by name.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>clazz</code> - Enumeration class</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>map of values</dd>
</dl>
</li>
</ul>
<a name="enumVal-java.lang.Class-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumVal</h4>
<pre>public static&nbsp;&lt;T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;T&gt;&gt;&nbsp;T&nbsp;enumVal(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</pre>
<div class="block">Returns the value of an enumeration with a particular name.
<p>Similar to <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="java.lang中的类或接口"><code>Enum.valueOf(Class, String)</code></a>, but returns <code>null</code> rather than throwing <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="java.lang中的类或接口"><code>IllegalArgumentException</code></a>.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Enum class type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>clazz</code> - Enum class</dd>
<dd><code>name</code> - Name of enum constant</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Enum constant or null</dd>
</dl>
</li>
</ul>
<a name="enumVal-java.lang.Enum-java.lang.String-">
<!-- -->
</a><a name="enumVal-T-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumVal</h4>
<pre>public static&nbsp;&lt;T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a>&lt;T&gt;&gt;&nbsp;T&nbsp;enumVal(T&nbsp;default_,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</pre>
<div class="block">Returns the value of an enumeration with a particular or default value if
not found.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Enum class type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>default_</code> - Default value (not null)</dd>
<dd><code>name</code> - Name of enum constant</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Enum constant, never null</dd>
</dl>
</li>
</ul>
<a name="quotientList-java.util.List-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quotientList</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;quotientList(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n,
int&nbsp;k)</pre>
<div class="block">Creates a list that returns every <code>n</code>th element of a list,
starting at element <code>k</code>.
<p>It is OK if the list is empty or its size is not a multiple of
<code>n</code>.</p>
<p>For instance, <code>quotientList(list, 2, 0)</code> returns the even
elements of a list, and <code>quotientList(list, 2, 1)</code> returns the odd
elements. Those lists are the same length only if list has even size.</p></div>
</li>
</ul>
<a name="pairs-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pairs</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/calcite/util/Pair.html" title="org.apache.calcite.util中的类">Pair</a>&lt;E,E&gt;&gt;&nbsp;pairs(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Given a list with N elements
[e<sub>0</sub>, e<sub>1</sub>, ..., e<sub>N-1</sub>]
(where N is even), returns a list of the N / 2 elements
[ (e<sub>0</sub>, e<sub>1</sub>),
(e<sub>2</sub>, e<sub>3</sub>), ... ].</div>
</li>
</ul>
<a name="first-java.lang.Object-java.lang.Object-">
<!-- -->
</a><a name="first-T-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T&nbsp;first(T&nbsp;v0,
T&nbsp;v1)</pre>
<div class="block">Returns the first value if it is not null,
otherwise the second value.
<p>The result may be null.
<p>Equivalent to the Elvis operator (<code>?:</code>) of languages such as
Groovy or PHP.</div>
</li>
</ul>
<a name="first-java.lang.Double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;double&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="java.lang中的类或接口">Double</a>&nbsp;v0,
double&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="java.lang中的类或接口"><code>Double</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Float-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;float&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="java.lang中的类或接口">Float</a>&nbsp;v0,
float&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="java.lang中的类或接口"><code>Float</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Integer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;int&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&nbsp;v0,
int&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口"><code>Integer</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;long&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="java.lang中的类或接口">Long</a>&nbsp;v0,
long&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="java.lang中的类或接口"><code>Long</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;boolean&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="java.lang中的类或接口">Boolean</a>&nbsp;v0,
boolean&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="java.lang中的类或接口"><code>Boolean</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Short-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;short&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true" title="java.lang中的类或接口">Short</a>&nbsp;v0,
short&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true" title="java.lang中的类或接口"><code>Short</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Character-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;char&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="java.lang中的类或接口">Character</a>&nbsp;v0,
char&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="java.lang中的类或接口"><code>Character</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="first-java.lang.Byte-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static&nbsp;byte&nbsp;first(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true" title="java.lang中的类或接口">Byte</a>&nbsp;v0,
byte&nbsp;v1)</pre>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true" title="java.lang中的类或接口"><code>Byte</code></a> value,
using a given default value if it is null.</div>
</li>
</ul>
<a name="orEmpty-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>orEmpty</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;orEmpty(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;v0)</pre>
</li>
</ul>
<a name="last-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>last</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;E&nbsp;last(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Returns the last element of a list.</div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if the list is empty</dd>
</dl>
</li>
</ul>
<a name="skipLast-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipLast</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;skipLast(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Returns every element of a list but its last element.</div>
</li>
</ul>
<a name="skipLast-java.util.List-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipLast</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;skipLast(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</pre>
<div class="block">Returns every element of a list but its last <code>n</code> elements.</div>
</li>
</ul>
<a name="last-java.util.List-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>last</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;last(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</pre>
<div class="block">Returns the last <code>n</code> elements of a list.</div>
</li>
</ul>
<a name="skip-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skip</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;skip(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Returns all but the first element of a list.</div>
</li>
</ul>
<a name="skip-java.util.List-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skip</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;skip(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;fromIndex)</pre>
<div class="block">Returns all but the first <code>n</code> elements of a list.</div>
</li>
</ul>
<a name="range-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>range</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;range(int&nbsp;end)</pre>
</li>
</ul>
<a name="range-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>range</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;range(int&nbsp;start,
int&nbsp;end)</pre>
</li>
</ul>
<a name="isDistinct-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDistinct</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;boolean&nbsp;isDistinct(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Returns whether the elements of <code>list</code> are distinct.</div>
</li>
</ul>
<a name="firstDuplicate-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>firstDuplicate</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;int&nbsp;firstDuplicate(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Returns the ordinal of the first element in the list which is equal to a
previous element in the list.
<p>For example,
<code>firstDuplicate(Arrays.asList("a", "b", "c", "b", "a"))</code>
returns 3, the ordinal of the 2nd "b".</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>list</code> - List</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Ordinal of first duplicate, or -1 if not found</dd>
</dl>
</li>
</ul>
<a name="distinctList-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>distinctList</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;distinctList(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list)</pre>
<div class="block">Converts a list into a list with unique elements.
<p>The order is preserved; the second and subsequent occurrences are
removed.
<p>If the list is already unique it is returned unchanged.</div>
</li>
</ul>
<a name="distinctList-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>distinctList</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;distinctList(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;keys)</pre>
<div class="block">Converts an iterable into a list with unique elements.
<p>The order is preserved; the second and subsequent occurrences are
removed.
<p>If <code>iterable</code> is a unique list it is returned unchanged.</div>
</li>
</ul>
<a name="intersects-java.util.Collection-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersects</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;boolean&nbsp;intersects(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;E&gt;&nbsp;c0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;E&gt;&nbsp;c1)</pre>
<div class="block">Returns whether two collections have any elements in common.</div>
</li>
</ul>
<a name="findMatch-java.util.List-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findMatch</h4>
<pre>public static&nbsp;int&nbsp;findMatch(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;strings,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;seek,
boolean&nbsp;caseSensitive)</pre>
<div class="block">Looks for a string within a list of strings, using a given
case-sensitivity policy, and returns the position at which the first match
is found, or -1 if there are no matches.</div>
</li>
</ul>
<a name="matches-boolean-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;boolean&nbsp;matches(boolean&nbsp;caseSensitive,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s1)</pre>
<div class="block">Returns whether a name matches another according to a given
case-sensitivity policy.</div>
</li>
</ul>
<a name="startsWith-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startsWith</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;boolean&nbsp;startsWith(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list1)</pre>
<div class="block">Returns whether one list is a prefix of another.</div>
</li>
</ul>
<a name="listToString-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listToString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;listToString(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;list)</pre>
<div class="block">Converts ["ab", "c"] to "ab"."c".</div>
</li>
</ul>
<a name="stringToList-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stringToList</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;stringToList(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
</li>
</ul>
<a name="human-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>human</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;human(double&nbsp;d)</pre>
<div class="block">Converts a number into human-readable form, with 3 digits and a "K", "M"
or "G" multiplier for thousands, millions or billions.
<p>Examples: -2, 0, 1, 999, 1.00K, 1.99K, 3.45M, 4.56B.</p></div>
</li>
</ul>
<a name="asIndexMapJ-java.util.Collection-java.util.function.Function-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asIndexMapJ</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;&nbsp;asIndexMapJ(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;V&gt;&nbsp;values,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="java.util.function中的类或接口">Function</a>&lt;V,K&gt;&nbsp;function)</pre>
<div class="block">Returns a map that is a view onto a collection of values, using the
provided function to convert a value to a key.
<p>Unlike
<code>Maps.uniqueIndex(Iterable, com.google.common.base.Function)</code>,
returns a view whose contents change as the collection of values changes.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>K</code> - Key type</dd>
<dd><code>V</code> - Value type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>values</code> - Collection of values</dd>
<dd><code>function</code> - Function to map value to key</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Map that is a view onto the values</dd>
</dl>
</li>
</ul>
<a name="asIndexMap-java.util.Collection-com.google.common.base.Function-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asIndexMap</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;&lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;&nbsp;asIndexMap(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;V&gt;&nbsp;values,
com.google.common.base.Function&lt;V,K&gt;&nbsp;function)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="debugCode-java.io.PrintStream-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debugCode</h4>
<pre>public static&nbsp;void&nbsp;debugCode(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="java.io中的类或接口">PrintStream</a>&nbsp;out,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;code)</pre>
<div class="block">Prints the given code with line numbering.</div>
</li>
</ul>
<a name="immutableCopy-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>immutableCopy</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&gt;&nbsp;immutableCopy(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&gt;&nbsp;lists)</pre>
<div class="block">Returns a copy of a list of lists, making the component lists immutable if
they are not already.</div>
</li>
</ul>
<a name="printWriter-java.io.OutputStream-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>printWriter</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;printWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="java.io中的类或接口">OutputStream</a>&nbsp;out)</pre>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口"><code>PrintWriter</code></a> to a given output stream using UTF-8
character set.
<p>Does not use the default character set.</div>
</li>
</ul>
<a name="printWriter-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>printWriter</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;printWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="java.io中的类或接口">File</a>&nbsp;file)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/FileNotFoundException.html?is-external=true" title="java.io中的类或接口">FileNotFoundException</a></pre>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口"><code>PrintWriter</code></a> to a given file using UTF-8
character set.
<p>Does not use the default character set.</div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/FileNotFoundException.html?is-external=true" title="java.io中的类或接口">FileNotFoundException</a></code></dd>
</dl>
</li>
</ul>
<a name="reader-java.io.InputStream-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reader</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口">BufferedReader</a>&nbsp;reader(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="java.io中的类或接口">InputStream</a>&nbsp;in)</pre>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口"><code>BufferedReader</code></a> to a given input stream using UTF-8
character set.
<p>Does not use the default character set.</div>
</li>
</ul>
<a name="reader-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reader</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口">BufferedReader</a>&nbsp;reader(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="java.io中的类或接口">File</a>&nbsp;file)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/FileNotFoundException.html?is-external=true" title="java.io中的类或接口">FileNotFoundException</a></pre>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html?is-external=true" title="java.io中的类或接口"><code>BufferedReader</code></a> to read a given file using UTF-8
character set.
<p>Does not use the default character set.</div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/FileNotFoundException.html?is-external=true" title="java.io中的类或接口">FileNotFoundException</a></code></dd>
</dl>
</li>
</ul>
<a name="calendar--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calendar</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口">Calendar</a>&nbsp;calendar()</pre>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口"><code>Calendar</code></a> in the UTC time zone and root locale.
Does not use the time zone or locale.</div>
</li>
</ul>
<a name="calendar-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calendar</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口">Calendar</a>&nbsp;calendar(long&nbsp;millis)</pre>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html?is-external=true" title="java.util中的类或接口"><code>Calendar</code></a> in the UTC time zone and root locale
with a given time.</div>
</li>
</ul>
<a name="toImmutableList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toImmutableList</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collector.html?is-external=true" title="java.util.stream中的类或接口">Collector</a>&lt;T,com.google.common.collect.ImmutableList.Builder&lt;T&gt;,com.google.common.collect.ImmutableList&lt;T&gt;&gt;&nbsp;toImmutableList()</pre>
<div class="block">Returns a <code>Collector</code> that accumulates the input elements into a
Guava <code>ImmutableList</code> via a <code>ImmutableList.Builder</code>.
<p>It will be obsolete when we move to <a href="../../../../org/apache/calcite/util/Bug.html#upgrade-java.lang.String-"><code>Guava 21.0</code></a>,
which has <code>ImmutableList.toImmutableList()</code>.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Type of the input elements</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a <code>Collector</code> that collects all the input elements into an
<code>ImmutableList</code>, in encounter order</dd>
</dl>
</li>
</ul>
<a name="transform-java.util.List-java.util.function.Function-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transform</h4>
<pre>public static&nbsp;&lt;F,T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;transform(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;F&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="java.util.function中的类或接口">Function</a>&lt;F,T&gt;&nbsp;function)</pre>
<div class="block">Transforms a list, applying a function to each element.</div>
</li>
</ul>
<a name="filter-java.lang.Iterable-java.util.function.Predicate-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="java.util.function中的类或接口">Predicate</a>&lt;E&gt;&nbsp;predicate)</pre>
<div class="block">Filters an iterable.</div>
</li>
</ul>
<a name="filter-java.util.Iterator-java.util.function.Predicate-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;E&gt;&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;E&gt;&nbsp;iterator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="java.util.function中的类或接口">Predicate</a>&lt;E&gt;&nbsp;predicate)</pre>
<div class="block">Filters an iterator.</div>
</li>
</ul>
<a name="select-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>select</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;select(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;ordinals)</pre>
<div class="block">Returns a view of a list, picking the elements of a list with the given
set of ordinals.</div>
</li>
</ul>
<a name="blackholeMap--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>blackholeMap</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;K,V&gt;&nbsp;blackholeMap()</pre>
<div class="block">Returns a map which ignores any write operation.</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/Unsafe.html" title="org.apache.calcite.util中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/util/Util.FoundOne.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/Util.html" target="_top">框架</a></li>
<li><a href="Util.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><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&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>