blob: 84208d85f97fd9b09f3b2d1d126788fb2801a0ae [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Util (Apache Calcite calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.calcite.util, class: Util">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":9,"i1":41,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"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":9,"i40":9,"i41":9,"i42":10,"i43":9,"i44":9,"i45":9,"i46":41,"i47":41,"i48":41,"i49":41,"i50":41,"i51":41,"i52":41,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":41,"i70":41,"i71":41,"i72":41,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":41,"i79":41,"i80":41,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":41,"i93":9,"i94":9,"i95":9,"i96":41,"i97":41,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":41,"i105":41,"i106":41,"i107":41,"i108":41,"i109":41,"i110":41,"i111":9,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i120":9,"i121":9,"i122":41,"i123":9,"i124":9,"i125":9,"i126":9,"i127":9,"i128":41,"i129":9,"i130":9,"i131":9,"i132":9,"i133":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.util</a></div>
<h1 title="Class Util" class="title">Class Util</h1>
</div>
<div class="contentContainer">
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a>
<div class="inheritance">org.apache.calcite.util.Util</div>
</div>
<section class="description">
<hr>
<pre>public class <span class="typeNameLabel">Util</span>
extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre>
<div class="block">Miscellaneous utility functions.</div>
</section>
<section class="summary">
<ul class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<li class="blockList">
<section class="nestedClassSummary"><a id="nested.class.summary">
<!-- -->
</a>
<h2>Nested Class Summary</h2>
<div class="memberSummary">
<table>
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Util.FoundOne.html" title="class in org.apache.calcite.util">Util.FoundOne</a></span></code></th>
<td class="colLast">
<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>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Util.OverFinder.html" title="class in org.apache.calcite.util">Util.OverFinder</a></span></code></th>
<td class="colLast">
<div class="block">Visitor which looks for an OVER clause inside a tree of
<a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> objects.</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<!-- =========== FIELD SUMMARY =========== -->
<li class="blockList">
<section class="fieldSummary"><a id="field.summary">
<!-- -->
</a>
<h2>Field Summary</h2>
<div class="memberSummary">
<table>
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILE_SEPARATOR">FILE_SEPARATOR</a></span></code></th>
<td class="colLast">
<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/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILE_TIMESTAMP_FORMAT">FILE_TIMESTAMP_FORMAT</a></span></code></th>
<td class="colLast">
<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/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LINE_SEPARATOR">LINE_SEPARATOR</a></span></code></th>
<td class="colLast">
<div class="block">System-dependent newline character.</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t6" class="tableTab" onclick="show(32);">Deprecated Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>static &lt;X&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;X&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#andThen(java.util.function.UnaryOperator,java.util.function.UnaryOperator)">andThen</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;X&gt;&nbsp;op1,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;X&gt;&nbsp;op2)</code></th>
<td class="colLast">
<div class="block">Returns an operator that applies <code>op1</code> and then <code>op2</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>static &lt;K,&#8203;
V&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asIndexMap(java.util.Collection,com.google.common.base.Function)">asIndexMap</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;V&gt;&nbsp;values,
com.google.common.base.Function&lt;V,&#8203;K&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>static &lt;K,&#8203;
V&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asIndexMapJ(java.util.Collection,java.util.function.Function)">asIndexMapJ</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;V&gt;&nbsp;values,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;V,&#8203;K&gt;&nbsp;function)</code></th>
<td class="colLast">
<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 class="rowColor" id="i3">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asStringBuilder(java.lang.Appendable,java.util.function.Consumer)">asStringBuilder</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a>&nbsp;appendable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Consumer</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&gt;&nbsp;consumer)</code></th>
<td class="colLast">
<div class="block">Given an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Appendable</code></a>, performs an action that requires a
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>StringBuilder</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>static &lt;K,&#8203;
V&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#blackholeMap()">blackholeMap</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a map which ignores any write operation.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink">Calendar</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#calendar()">calendar</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Calendar</code></a> in the UTC time zone and root locale.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink">Calendar</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#calendar(long)">calendar</a></span>&#8203;(long&nbsp;millis)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Calendar</code></a> in the UTC time zone and root locale
with a given time.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cast(java.lang.Iterable,java.lang.Class)">cast</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? super E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Converts an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Iterable</code></a> whose members are automatically down-cast to
a given type.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>static &lt;E extends @PolyNull <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cast(java.util.Iterator,java.lang.Class)">cast</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;? extends @PolyNull <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;&nbsp;iter,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Converts a iterator whose members are automatically down-cast to a given
type.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cast(java.util.List,java.lang.Class)">cast</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? super E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Converts a list whose members are automatically down-cast to a given
type.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#causeOrSelf(java.lang.Throwable)">causeOrSelf</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</code></th>
<td class="colLast">
<div class="block">Returns cause of the given throwable if it is non-null or the throwable itself.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;com.google.common.collect.ImmutableList.Builder&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#combine(com.google.common.collect.ImmutableList.Builder,com.google.common.collect.ImmutableList.Builder)">combine</a></span>&#8203;(com.google.common.collect.ImmutableList.Builder&lt;E&gt;&nbsp;b0,
com.google.common.collect.ImmutableList.Builder&lt;E&gt;&nbsp;b1)</code></th>
<td class="colLast">
<div class="block">Combines a second immutable list builder into a first.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#combine(java.util.ArrayList,java.util.ArrayList)">combine</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;E&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;E&gt;&nbsp;list1)</code></th>
<td class="colLast">
<div class="block">Combines a second array list into a first.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commaList(java.util.List)">commaList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Converts a list of a string, with commas between elements.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(java.lang.String%5B%5D,int,java.lang.String)">contains</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]&nbsp;a,
int&nbsp;length,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">
<div class="block">Returns whether an array of strings contains a given string among the
first <code>length</code> entries.</div>
</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#debugCode(java.io.PrintStream,java.lang.String)">debugCode</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintStream</a>&nbsp;out,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;code)</code></th>
<td class="colLast">
<div class="block">Prints the given code with line numbering.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deprecated(T,boolean)">deprecated</a></span>&#8203;(T&nbsp;argument,
boolean&nbsp;fail)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">If a piece of code calls this method, it indicates that the
code needs to be cleaned up.</div>
</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#discard(boolean)">discard</a></span>&#8203;(boolean&nbsp;b)</code></th>
<td class="colLast">
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#discard(double)">discard</a></span>&#8203;(double&nbsp;d)</code></th>
<td class="colLast">
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#discard(int)">discard</a></span>&#8203;(int&nbsp;i)</code></th>
<td class="colLast">
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#discard(java.lang.Object)">discard</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distinctList(java.lang.Iterable)">distinctList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;&nbsp;keys)</code></th>
<td class="colLast">
<div class="block">Converts an iterable into a list with unique elements.</div>
</td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distinctList(java.util.List)">distinctList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Converts a list into a list with unique elements.</div>
</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;T&gt;&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enumConstants(java.lang.Class)">enumConstants</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Creates a map of the values of an enumeration by name.</div>
</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;T&gt;&gt;<br>@Nullable T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enumVal(java.lang.Class,java.lang.String)">enumVal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Returns the value of an enumeration with a particular name.</div>
</td>
</tr>
<tr class="rowColor" id="i25">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;T&gt;&gt;<br>T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enumVal(T,java.lang.String)">enumVal</a></span>&#8203;(T&nbsp;default_,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Returns the value of an enumeration with a particular or default value if
not found.</div>
</td>
</tr>
<tr class="altColor" id="i26">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equalShallow(java.util.List,java.util.List)">equalShallow</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends T&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends T&gt;&nbsp;list1)</code></th>
<td class="colLast">
<div class="block">Returns whether two lists are equal to each other using shallow
comparisons.</div>
</td>
</tr>
<tr class="rowColor" id="i27">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filter(java.lang.Iterable,java.lang.Class)">filter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;?&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;includeFilter)</code></th>
<td class="colLast">
<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 class="altColor" id="i28">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filter(java.lang.Iterable,java.util.function.Predicate)">filter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? extends E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Predicate</a>&lt;? super E&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Filters an iterable.</div>
</td>
</tr>
<tr class="rowColor" id="i29">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filter(java.util.Collection,java.lang.Class)">filter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;?&gt;&nbsp;collection,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;includeFilter)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i30">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filter(java.util.Iterator,java.util.function.Predicate)">filter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;? extends E&gt;&nbsp;iterator,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Predicate</a>&lt;? super E&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Filters an iterator.</div>
</td>
</tr>
<tr class="rowColor" id="i31">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filter(java.util.List,java.lang.Class)">filter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;?&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;includeFilter)</code></th>
<td class="colLast">
<div class="block">Returns a subset of a list containing only elements of a given type.</div>
</td>
</tr>
<tr class="altColor" id="i32">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findMatch(java.util.List,java.lang.String,boolean)">findMatch</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;strings,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;seek,
boolean&nbsp;caseSensitive)</code></th>
<td class="colLast">
<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 class="rowColor" id="i33">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Boolean,boolean)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&nbsp;v0,
boolean&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Boolean</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="altColor" id="i34">
<td class="colFirst"><code>static byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Byte,byte)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink">Byte</a>&nbsp;v0,
byte&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="rowColor" id="i35">
<td class="colFirst"><code>static char</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Character,char)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink">Character</a>&nbsp;v0,
char&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Character</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="altColor" id="i36">
<td class="colFirst"><code>static double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Double,double)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&nbsp;v0,
double&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="rowColor" id="i37">
<td class="colFirst"><code>static float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Float,float)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&nbsp;v0,
float&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="altColor" id="i38">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Integer,int)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&nbsp;v0,
int&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="rowColor" id="i39">
<td class="colFirst"><code>static long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Long,long)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>&nbsp;v0,
long&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="altColor" id="i40">
<td class="colFirst"><code>static short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.lang.Short,short)">first</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink">Short</a>&nbsp;v0,
short&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a> value,
using a given default value if it is null.</div>
</td>
</tr>
<tr class="rowColor" id="i41">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;@PolyNull T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(T,T)">first</a></span>&#8203;(@Nullable T&nbsp;v0,
@PolyNull T&nbsp;v1)</code></th>
<td class="colLast">
<div class="block">Returns the first value if it is not null,
otherwise the second value.</div>
</td>
</tr>
<tr class="altColor" id="i42">
<td class="colFirst"><code>&lt;E&gt;&nbsp;E</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.util.List)">first</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Returns the first element of a list.</div>
</td>
</tr>
<tr class="rowColor" id="i43">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#first(java.util.List,int)">first</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</code></th>
<td class="colLast">
<div class="block">Returns the first <code>n</code> elements of a list.</div>
</td>
</tr>
<tr class="altColor" id="i44">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#firstDuplicate(java.util.List)">firstDuplicate</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<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 class="rowColor" id="i45">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink">Charset</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultCharset()">getDefaultCharset</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <a href="https://docs.oracle.com/javase/9/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink"><code>Charset</code></a> object representing the value of
<a href="../config/CalciteSystemProperty.html#DEFAULT_CHARSET"><code>CalciteSystemProperty.DEFAULT_CHARSET</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i46">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFileTimestamp()">getFileTimestamp</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i47">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMessages(java.lang.Throwable)">getMessages</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;t)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor" id="i48">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStackTrace(java.lang.Throwable)">getStackTrace</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;t)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Throwables.getStackTraceAsString(Throwable)</code></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i49">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hash(int,int)">hash</a></span>&#8203;(int&nbsp;i,
int&nbsp;j)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#hash(java.lang.Object...)" title="class or interface in java.util" class="externalLink"><code>Objects.hash(Object...)</code></a></div>
</div>
</td>
</tr>
<tr class="altColor" id="i50">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hash(int,java.lang.Object)">hash</a></span>&#8203;(int&nbsp;h,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#hash(java.lang.Object...)" title="class or interface in java.util" class="externalLink"><code>Objects.hash(Object...)</code></a></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i51">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashArray(int,java.lang.Object%5B%5D)">hashArray</a></span>&#8203;(int&nbsp;h,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;a)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#hash(java.lang.Object...)" title="class or interface in java.util" class="externalLink"><code>Objects.hash(Object...)</code></a></div>
</div>
</td>
</tr>
<tr class="altColor" id="i52">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode(double)">hashCode</a></span>&#8203;(double&nbsp;v)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="../runtime/Utilities.html#hashCode(double)"><code>Utilities.hashCode(double)</code></a></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i53">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#human(double)">human</a></span>&#8203;(double&nbsp;d)</code></th>
<td class="colLast">
<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 class="altColor" id="i54">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#immutableCopy(java.lang.Iterable)">immutableCopy</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;&gt;&nbsp;lists)</code></th>
<td class="colLast">
<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 class="rowColor" id="i55">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intersects(java.util.Collection,java.util.Collection)">intersects</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;&nbsp;c0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;&nbsp;c1)</code></th>
<td class="colLast">
<div class="block">Returns whether two collections have any elements in common.</div>
</td>
</tr>
<tr class="altColor" id="i56">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDistinct(java.util.List)">isDistinct</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Returns whether the elements of <code>list</code> are distinct.</div>
</td>
</tr>
<tr class="rowColor" id="i57">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNullOrEmpty(java.lang.String)">isNullOrEmpty</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">
<div class="block">Returns whether s == null or if s.length() == 0.</div>
</td>
</tr>
<tr class="altColor" id="i58">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSingleValue(org.apache.calcite.sql.SqlCall)">isSingleValue</a></span>&#8203;(<a href="../sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;call)</code></th>
<td class="colLast">
<div class="block">Does nothing with its argument.</div>
</td>
</tr>
<tr class="rowColor" id="i59">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidJavaIdentifier(java.lang.String)">isValidJavaIdentifier</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">
<div class="block">Returns true when input string is a valid Java identifier.</div>
</td>
</tr>
<tr class="altColor" id="i60">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;E</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#last(java.util.List)">last</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Returns the last element of a list.</div>
</td>
</tr>
<tr class="rowColor" id="i61">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#last(java.util.List,int)">last</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</code></th>
<td class="colLast">
<div class="block">Returns the last <code>n</code> elements of a list.</div>
</td>
</tr>
<tr class="altColor" id="i62">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lines(java.lang.Iterable)">lines</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;strings)</code></th>
<td class="colLast">
<div class="block">Converts a list of strings to a string separated by newlines.</div>
</td>
</tr>
<tr class="rowColor" id="i63">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listToString(java.util.List)">listToString</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Converts ["ab", "c"] to "ab"."c".</div>
</td>
</tr>
<tr class="altColor" id="i64">
<td class="colFirst"><code>static &lt;K,&#8203;
V&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mapOf(K,V,java.lang.Object...)">mapOf</a></span>&#8203;(K&nbsp;key,
V&nbsp;value,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;keyValues)</code></th>
<td class="colLast">
<div class="block">Returns a hashmap with given contents.</div>
</td>
</tr>
<tr class="rowColor" id="i65">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#matches(boolean,java.lang.String,java.lang.String)">matches</a></span>&#8203;(boolean&nbsp;caseSensitive,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s1)</code></th>
<td class="colLast">
<div class="block">Returns whether a name matches another according to a given
case-sensitivity policy.</div>
</td>
</tr>
<tr class="altColor" id="i66">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minus(java.util.Set,java.util.Set)">minus</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;T&gt;&nbsp;set1,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;T&gt;&nbsp;set2)</code></th>
<td class="colLast">
<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 class="rowColor" id="i67">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveToHead(java.util.List,java.util.function.Predicate)">moveToHead</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends E&gt;&nbsp;terms,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Predicate</a>&lt;? super E&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns a list with any elements for which the predicate is true moved to
the head of the list.</div>
</td>
</tr>
<tr class="altColor" id="i68">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#needToImplement(java.lang.Object)">needToImplement</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Returns a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> indicating that a particular
feature has not been implemented, but should be.</div>
</td>
</tr>
<tr class="rowColor" id="i69">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newInternal()">newInternal</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>AssertionError</code></a></div>
</div>
</td>
</tr>
<tr class="altColor" id="i70">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newInternal(java.lang.String)">newInternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>AssertionError</code></a></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i71">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newInternal(java.lang.Throwable)">newInternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;e)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> if checked; throw raw
exception if unchecked or <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Error</code></a></div>
</div>
</td>
</tr>
<tr class="altColor" id="i72">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newInternal(java.lang.Throwable,java.lang.String)">newInternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;e,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>AssertionError</code></a> if applicable;
or <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> if e is checked;
or raw exception if e is unchecked or <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Error</code></a>.</div>
</div>
</td>
</tr>
<tr class="rowColor" id="i73">
<td class="colFirst"><code>static double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nLogM(double,double)">nLogM</a></span>&#8203;(double&nbsp;n,
double&nbsp;m)</code></th>
<td class="colLast">
<div class="block">Computes <code>nlog(m)</code> using the natural logarithm (or <code>
n</code> if <code>m &lt; <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Math.html?is-external=true#E" title="class or interface in java.lang" class="externalLink"><code>Math.E</code></a></code>, so the result is never
negative.</div>
</td>
</tr>
<tr class="altColor" id="i74">
<td class="colFirst"><code>static double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nLogN(double)">nLogN</a></span>&#8203;(double&nbsp;d)</code></th>
<td class="colLast">
<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/9/docs/api/java/lang/Math.html?is-external=true#E" title="class or interface in java.lang" class="externalLink"><code>Math.E</code></a></code>, so the result is never
negative.</div>
</td>
</tr>
<tr class="rowColor" id="i75">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#orEmpty(java.lang.Iterable)">orEmpty</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;&nbsp;v0)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i76">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;E,&#8203;E&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pairs(java.util.List)">pairs</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<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 class="rowColor" id="i77">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util" class="externalLink">Locale</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseLocale(java.lang.String)">parseLocale</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;localeString)</code></th>
<td class="colLast">
<div class="block">Parses a locale string.</div>
</td>
</tr>
<tr class="altColor" id="i78">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#permAssert(boolean,java.lang.String)">permAssert</a></span>&#8203;(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i79">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#post(boolean,java.lang.String)">post</a></span>&#8203;(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#requireNonNull(T)" title="class or interface in java.util" class="externalLink"><code>Objects.requireNonNull(Object)</code></a></div>
</div>
</td>
</tr>
<tr class="altColor" id="i80">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pre(boolean,java.lang.String)">pre</a></span>&#8203;(boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#requireNonNull(T)" title="class or interface in java.util" class="externalLink"><code>Objects.requireNonNull(Object)</code></a></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i81">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#print(java.io.PrintWriter,java.lang.Object,int)">print</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a>&nbsp;pw,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o,
int&nbsp;indent)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i82">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#print(java.io.PrintWriter,java.lang.Object)">print</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Prints an object using reflection.</div>
</td>
</tr>
<tr class="rowColor" id="i83">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#printIterable(java.lang.StringBuilder,java.lang.Iterable)">printIterable</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;&nbsp;iterable)</code></th>
<td class="colLast">
<div class="block">Prints a collection of elements to a StringBuilder, in the same format as
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/AbstractCollection.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>AbstractCollection.toString()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i84">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#printJavaString(java.lang.Appendable,java.lang.String,boolean)">printJavaString</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a>&nbsp;appendable,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
boolean&nbsp;nullMeansNull)</code></th>
<td class="colLast">
<div class="block">Prints a string, enclosing in double quotes (") and escaping if
necessary.</div>
</td>
</tr>
<tr class="rowColor" id="i85">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#printList(java.lang.StringBuilder,int,java.util.function.ObjIntConsumer)">printList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&nbsp;sb,
int&nbsp;elementCount,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/ObjIntConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">ObjIntConsumer</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&gt;&nbsp;consumer)</code></th>
<td class="colLast">
<div class="block">Prints a set of elements to a StringBuilder, in the same format same as
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/AbstractCollection.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>AbstractCollection.toString()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i86">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#println(java.io.PrintWriter,java.lang.Object)">println</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i87">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#printWriter(java.io.File)">printWriter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;file)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>PrintWriter</code></a> to a given file using UTF-8
character set.</div>
</td>
</tr>
<tr class="altColor" id="i88">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#printWriter(java.io.OutputStream)">printWriter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a>&nbsp;out)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>PrintWriter</code></a> to a given output stream using UTF-8
character set.</div>
</td>
</tr>
<tr class="rowColor" id="i89">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#quotientList(java.util.List,int,int)">quotientList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n,
int&nbsp;k)</code></th>
<td class="colLast">
<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 class="altColor" id="i90">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#range(int)">range</a></span>&#8203;(int&nbsp;end)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i91">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#range(int,int)">range</a></span>&#8203;(int&nbsp;start,
int&nbsp;end)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i92">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readAllAsString(java.io.Reader)">readAllAsString</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io" class="externalLink">Reader</a>&nbsp;reader)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i93">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink">BufferedReader</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reader(java.io.File)">reader</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;file)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>BufferedReader</code></a> to read a given file using UTF-8
character set.</div>
</td>
</tr>
<tr class="altColor" id="i94">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink">BufferedReader</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reader(java.io.InputStream)">reader</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;in)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>BufferedReader</code></a> to a given input stream using UTF-8
character set.</div>
</td>
</tr>
<tr class="rowColor" id="i95">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replace(java.lang.String,java.lang.String,java.lang.String)">replace</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;find,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;replace)</code></th>
<td class="colLast">
<div class="block">Replaces every occurrence of <code>find</code> in <code>s</code> with
<code>replace</code>.</div>
</td>
</tr>
<tr class="altColor" id="i96">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rpad(java.lang.String,int)">rpad</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
int&nbsp;len)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Spaces.padRight(String, int)</code></div>
</div>
</td>
</tr>
<tr class="rowColor" id="i97">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rtrim(java.lang.String)">rtrim</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor" id="i98">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(java.util.List,java.util.List)">select</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;&nbsp;ordinals)</code></th>
<td class="colLast">
<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 class="rowColor" id="i99">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sepList(java.util.List,java.lang.String)">sepList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sep)</code></th>
<td class="colLast">
<div class="block">Converts a list of a string, with a given separator between elements.</div>
</td>
</tr>
<tr class="altColor" id="i100">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skip(java.util.List)">skip</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Returns all but the first element of a list.</div>
</td>
</tr>
<tr class="rowColor" id="i101">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skip(java.util.List,int)">skip</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;fromIndex)</code></th>
<td class="colLast">
<div class="block">Returns all but the first <code>n</code> elements of a list.</div>
</td>
</tr>
<tr class="altColor" id="i102">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skipLast(java.util.List)">skipLast</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</code></th>
<td class="colLast">
<div class="block">Returns every element of a list but its last element.</div>
</td>
</tr>
<tr class="rowColor" id="i103">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skipLast(java.util.List,int)">skipLast</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</code></th>
<td class="colLast">
<div class="block">Returns every element of a list but its last <code>n</code> elements.</div>
</td>
</tr>
<tr class="altColor" id="i104">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchConnection(java.sql.Connection)">squelchConnection</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql" class="externalLink">Connection</a>&nbsp;connection)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i105">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchJar(java.util.jar.JarFile)">squelchJar</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/jar/JarFile.html?is-external=true" title="class or interface in java.util.jar" class="externalLink">JarFile</a>&nbsp;jar)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor" id="i106">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchReader(java.io.Reader)">squelchReader</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io" class="externalLink">Reader</a>&nbsp;reader)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i107">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchStmt(java.sql.Statement)">squelchStmt</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Statement.html?is-external=true" title="class or interface in java.sql" class="externalLink">Statement</a>&nbsp;stmt)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor" id="i108">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchStream(java.io.InputStream)">squelchStream</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i109">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchStream(java.io.OutputStream)">squelchStream</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a>&nbsp;stream)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor" id="i110">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#squelchWriter(java.io.Writer)">squelchWriter</a></span>&#8203;(@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io" class="externalLink">Writer</a>&nbsp;writer)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i111">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startsWith(java.util.List,java.util.List)">startsWith</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list1)</code></th>
<td class="colLast">
<div class="block">Returns whether one list is a prefix of another.</div>
</td>
</tr>
<tr class="altColor" id="i112">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stringToList(java.lang.String)">stringToList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i113">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stripDoubleQuotes(java.lang.String)">stripDoubleQuotes</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Converts double-quoted Java strings to their contents.</div>
</td>
</tr>
<tr class="altColor" id="i114">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#swallow(java.lang.Throwable,org.slf4j.Logger)">swallow</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;e,
@Nullable org.slf4j.Logger&nbsp;logger)</code></th>
<td class="colLast">
<div class="block">Records that an exception has been caught but will not be re-thrown.</div>
</td>
</tr>
<tr class="rowColor" id="i115">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#throwAsRuntime(java.lang.String,java.lang.Throwable)">throwAsRuntime</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</code></th>
<td class="colLast">
<div class="block">This method rethrows input throwable as is (if its unchecked) with an extra message or
wraps it with <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> and throws.</div>
</td>
</tr>
<tr class="altColor" id="i116">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#throwAsRuntime(java.lang.Throwable)">throwAsRuntime</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</code></th>
<td class="colLast">
<div class="block">This method rethrows input throwable as is (if its unchecked) or
wraps it with <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> and throws.</div>
</td>
</tr>
<tr class="rowColor" id="i117">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#throwIfUnchecked(java.lang.Throwable)">throwIfUnchecked</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</code></th>
<td class="colLast">
<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 class="altColor" id="i118">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a>&lt;T,&#8203;com.google.common.collect.ImmutableList.Builder&lt;T&gt;,&#8203;com.google.common.collect.ImmutableList&lt;T&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toImmutableList()">toImmutableList</a></span>()</code></th>
<td class="colLast">
<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 class="rowColor" id="i119">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toJavaId(java.lang.String,int)">toJavaId</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
int&nbsp;ordinal)</code></th>
<td class="colLast">
<div class="block">Converts an arbitrary string into a string suitable for use as a Java
identifier.</div>
</td>
</tr>
<tr class="altColor" id="i120">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tokenize(java.lang.String,java.lang.String)">tokenize</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;delim)</code></th>
<td class="colLast">
<div class="block">Converts a string into tokens.</div>
</td>
</tr>
<tr class="rowColor" id="i121">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toLinux(java.lang.String)">toLinux</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i122">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toList(java.util.Iterator)">toList</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;T&gt;&nbsp;iter)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i123">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toMap(java.util.Properties)">toMap</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util" class="externalLink">Properties</a>&nbsp;properties)</code></th>
<td class="colLast">
<div class="block">Converts a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Properties</code></a> object to a <code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a>&lt;String,
String&gt;</code>.</div>
</td>
</tr>
<tr class="altColor" id="i124">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toPosix(java.util.TimeZone,boolean)">toPosix</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util" class="externalLink">TimeZone</a>&nbsp;tz,
boolean&nbsp;verbose)</code></th>
<td class="colLast">
<div class="block">Converts a Java timezone to POSIX format, so that the boost C++ library
can instantiate timezone objects.</div>
</td>
</tr>
<tr class="rowColor" id="i125">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toScientificNotation(java.math.BigDecimal)">toScientificNotation</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math" class="externalLink">BigDecimal</a>&nbsp;bd)</code></th>
<td class="colLast">
<div class="block">Formats a <a href="https://docs.oracle.com/javase/9/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math" class="externalLink"><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>
</div>
</td>
</tr>
<tr class="altColor" id="i126">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString(java.lang.Iterable,java.lang.String,java.lang.String,java.lang.String)">toString</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;start,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sep,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;end)</code></th>
<td class="colLast">
<div class="block">Converts an iterable to a string.</div>
</td>
</tr>
<tr class="rowColor" id="i127">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toUnchecked(java.lang.Exception)">toUnchecked</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a>&nbsp;e)</code></th>
<td class="colLast">
<div class="block">Wraps an exception with <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> and return it.</div>
</td>
</tr>
<tr class="altColor" id="i128">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toURL(java.io.File)">toURL</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;file)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor" id="i129">
<td class="colFirst"><code>static &lt;F,&#8203;
T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transform(java.lang.Iterable,java.util.function.Function)">transform</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? extends F&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;? super F,&#8203;? extends T&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Transforms an iterable, applying a function to each element.</div>
</td>
</tr>
<tr class="altColor" id="i130">
<td class="colFirst"><code>static &lt;F,&#8203;
T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transform(java.util.Iterator,java.util.function.Function)">transform</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;? extends F&gt;&nbsp;iterator,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;? super F,&#8203;? extends T&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Transforms an iterator.</div>
</td>
</tr>
<tr class="rowColor" id="i131">
<td class="colFirst"><code>static &lt;F,&#8203;
T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transform(java.util.List,java.util.function.Function)">transform</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends F&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;? super F,&#8203;? extends T&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Transforms a list, applying a function to each element.</div>
</td>
</tr>
<tr class="altColor" id="i132">
<td class="colFirst"><code>static &lt;F,&#8203;
T&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transformIndexed(java.util.List,java.util.function.BiFunction)">transformIndexed</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends F&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/BiFunction.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiFunction</a>&lt;? super F,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,&#8203;? extends T&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Transforms a list, applying a function to each element, also passing in
the element's index in the list.</div>
</td>
</tr>
<tr class="rowColor" id="i133">
<td class="colFirst"><code>static &lt;E extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;E&gt;&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unexpected(E)">unexpected</a></span>&#8203;(E&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Returns an exception indicating that we didn't expect to find this
enumeration here.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<li class="blockList">
<section class="fieldDetails"><a id="field.detail">
<!-- -->
</a>
<h2>Field Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="LINE_SEPARATOR">LINE_SEPARATOR</a></h3>
<div class="memberSignature"><span class="modifiers">public static final</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">LINE_SEPARATOR</span></div>
<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="#toLinux(java.lang.String)"><code>toLinux(String)</code></a> to Windows actual results, if
necessary, to make them look like Linux actual.</p></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="FILE_SEPARATOR">FILE_SEPARATOR</a></h3>
<div class="memberSignature"><span class="modifiers">public static final</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">FILE_SEPARATOR</span></div>
<div class="block">System-dependent file separator, for example, "/" or "\."</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="FILE_TIMESTAMP_FORMAT">FILE_TIMESTAMP_FORMAT</a></h3>
<div class="memberSignature"><span class="modifiers">public static final</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">FILE_TIMESTAMP_FORMAT</span></div>
<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">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.calcite.util.Util.FILE_TIMESTAMP_FORMAT">Constant Field Values</a></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="isSingleValue(org.apache.calcite.sql.SqlCall)">isSingleValue</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">isSingleValue</span>&#8203;(<span class="arguments"><a href="../sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;call)</span></div>
<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">Parameters:</span></dt>
<dd><code>call</code> - the expression to evaluate</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether it is ensured that the call produces a single value</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="discard(java.lang.Object)">discard</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">discard</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="discard(int)">discard</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">discard</span>&#8203;(<span class="arguments">int&nbsp;i)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="discard(boolean)">discard</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">discard</span>&#8203;(<span class="arguments">boolean&nbsp;b)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="discard(double)">discard</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">discard</span>&#8203;(<span class="arguments">double&nbsp;d)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="swallow(java.lang.Throwable,org.slf4j.Logger)">swallow</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">swallow</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;e,
@Nullable org.slf4j.Logger&nbsp;logger)</span></div>
<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">Parameters:</span></dt>
<dd><code>e</code> - Exception</dd>
<dd><code>logger</code> - If not null, logs exception to this logger</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="equalShallow(java.util.List,java.util.List)">equalShallow</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">equalShallow</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends T&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends T&gt;&nbsp;list1)</span></div>
<div class="block">Returns whether two lists are equal to each other using shallow
comparisons.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>list0</code> - First list</dd>
<dd><code>list1</code> - Second list</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether lists are same length and all of their elements are
equal using <code>==</code> (may be null).</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="hash(int,int)">hash</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">hash</span>&#8203;(<span class="arguments">int&nbsp;i,
int&nbsp;j)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#hash(java.lang.Object...)" title="class or interface in java.util" class="externalLink"><code>Objects.hash(Object...)</code></a></div>
</div>
<div class="block">Combines two integers into a hash code.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="hash(int,java.lang.Object)">hash</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">hash</span>&#8203;(<span class="arguments">int&nbsp;h,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#hash(java.lang.Object...)" title="class or interface in java.util" class="externalLink"><code>Objects.hash(Object...)</code></a></div>
</div>
<div class="block">Computes a hash code from an existing hash code and an object (which may
be null).</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="hashArray(int,java.lang.Object[])">hashArray</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">hashArray</span>&#8203;(<span class="arguments">int&nbsp;h,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;a)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#hash(java.lang.Object...)" title="class or interface in java.util" class="externalLink"><code>Objects.hash(Object...)</code></a></div>
</div>
<div class="block">Computes a hash code from an existing hash code and an array of objects
(which may be null).</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="hashCode(double)">hashCode</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">hashCode</span>&#8203;(<span class="arguments">double&nbsp;v)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="../runtime/Utilities.html#hashCode(double)"><code>Utilities.hashCode(double)</code></a></div>
</div>
<div class="block">Computes the hash code of a <code>double</code> value. Equivalent to
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a><code>.hashCode(double)</code>, but that method was only
introduced in JDK 1.8.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>v</code> - Value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Hash code</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="minus(java.util.Set,java.util.Set)">minus</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;T&gt;</span>&nbsp;<span class="memberName">minus</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;T&gt;&nbsp;set1,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;T&gt;&nbsp;set2)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="nLogN(double)">nLogN</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">double</span>&nbsp;<span class="memberName">nLogN</span>&#8203;(<span class="arguments">double&nbsp;d)</span></div>
<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/9/docs/api/java/lang/Math.html?is-external=true#E" title="class or interface in java.lang" class="externalLink"><code>Math.E</code></a></code>, so the result is never
negative.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="nLogM(double,double)">nLogM</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">double</span>&nbsp;<span class="memberName">nLogM</span>&#8203;(<span class="arguments">double&nbsp;n,
double&nbsp;m)</span></div>
<div class="block">Computes <code>nlog(m)</code> using the natural logarithm (or <code>
n</code> if <code>m &lt; <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Math.html?is-external=true#E" title="class or interface in java.lang" class="externalLink"><code>Math.E</code></a></code>, so the result is never
negative.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="print(java.io.PrintWriter,java.lang.Object)">print</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">print</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="print(java.io.PrintWriter,java.lang.Object,int)">print</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">print</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a>&nbsp;pw,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o,
int&nbsp;indent)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="printJavaString(java.lang.Appendable,java.lang.String,boolean)">printJavaString</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">printJavaString</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a>&nbsp;appendable,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
boolean&nbsp;nullMeansNull)</span></div>
<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">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - if the print to the specified appendable fails due to I/O</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="println(java.io.PrintWriter,java.lang.Object)">println</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">println</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a>&nbsp;pw,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toScientificNotation(java.math.BigDecimal)">toScientificNotation</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">toScientificNotation</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math" class="externalLink">BigDecimal</a>&nbsp;bd)</span></div>
<div class="block">Formats a <a href="https://docs.oracle.com/javase/9/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math" class="externalLink"><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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="replace(java.lang.String,java.lang.String,java.lang.String)">replace</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">replace</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;find,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;replace)</span></div>
<div class="block">Replaces every occurrence of <code>find</code> in <code>s</code> with
<code>replace</code>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toURL(java.io.File)">toURL</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a></span>&nbsp;<span class="memberName">toURL</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;file)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/9/docs/api/java/net/MalformedURLException.html?is-external=true" title="class or interface in java.net" class="externalLink">MalformedURLException</a></span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Creates a file-protocol URL for the given file.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/net/MalformedURLException.html?is-external=true" title="class or interface in java.net" class="externalLink">MalformedURLException</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getFileTimestamp()">getFileTimestamp</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">getFileTimestamp</span>()</div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Gets a timestamp string for use in file names. The generated timestamp
string reflects the current time.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="stripDoubleQuotes(java.lang.String)">stripDoubleQuotes</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">stripDoubleQuotes</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;value)</span></div>
<div class="block">Converts double-quoted Java strings to their contents. For example,
<code>"foo\"bar"</code> becomes <code>foo"bar</code>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toJavaId(java.lang.String,int)">toJavaId</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">toJavaId</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
int&nbsp;ordinal)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isValidJavaIdentifier(java.lang.String)">isValidJavaIdentifier</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">isValidJavaIdentifier</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
<div class="block">Returns true when input string is a valid Java identifier.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - input string</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true when input string is a valid Java identifier</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toLinux(java.lang.String)">toLinux</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">toLinux</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toList(java.util.Iterator)">toList</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;</span>&nbsp;<span class="memberName">toList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;T&gt;&nbsp;iter)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Materializes the results of a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Iterator</code></a> as a
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>List</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>iter</code> - iterator to materialize</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>materialized list</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isNullOrEmpty(java.lang.String)">isNullOrEmpty</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">isNullOrEmpty</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
<div class="block">Returns whether s == null or if s.length() == 0.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="commaList(java.util.List)">commaList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">commaList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;&nbsp;list)</span></div>
<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">Parameters:</span></dt>
<dd><code>list</code> - List</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String representation of string</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="sepList(java.util.List,java.lang.String)">sepList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">sepList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sep)</span></div>
<div class="block">Converts a list of a string, with a given separator between elements.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="printIterable(java.lang.StringBuilder,java.lang.Iterable)">printIterable</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a></span>&nbsp;<span class="memberName">printIterable</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;&nbsp;iterable)</span></div>
<div class="block">Prints a collection of elements to a StringBuilder, in the same format as
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/AbstractCollection.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>AbstractCollection.toString()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="printList(java.lang.StringBuilder,int,java.util.function.ObjIntConsumer)">printList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a></span>&nbsp;<span class="memberName">printList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&nbsp;sb,
int&nbsp;elementCount,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/ObjIntConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">ObjIntConsumer</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&gt;&nbsp;consumer)</span></div>
<div class="block">Prints a set of elements to a StringBuilder, in the same format same as
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/AbstractCollection.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>AbstractCollection.toString()</code></a>.
<p>The 'set' is represented by the number of elements and an action to
perform for each element.
<p>This method can be a very efficient way to convert a structure to a
string, because the components can write directly to the StringBuilder
rather than constructing intermediate strings.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../linq4j/function/Functions.html#generate(int,java.util.function.IntFunction)"><code>Functions.generate(int, java.util.function.IntFunction&lt;E&gt;)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getDefaultCharset()">getDefaultCharset</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink">Charset</a></span>&nbsp;<span class="memberName">getDefaultCharset</span>()</div>
<div class="block">Returns the <a href="https://docs.oracle.com/javase/9/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink"><code>Charset</code></a> object representing the value of
<a href="../config/CalciteSystemProperty.html#DEFAULT_CHARSET"><code>CalciteSystemProperty.DEFAULT_CHARSET</code></a>.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/nio/charset/IllegalCharsetNameException.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink">IllegalCharsetNameException</a></code> - If the given charset
name is illegal</dd>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/nio/charset/UnsupportedCharsetException.html?is-external=true" title="class or interface in java.nio.charset" class="externalLink">UnsupportedCharsetException</a></code> - If no support for
the named charset is
available in this
instance of the Java
virtual machine</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newInternal()">newInternal</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></span>&nbsp;<span class="memberName">newInternal</span>()</div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>AssertionError</code></a></div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newInternal(java.lang.String)">newInternal</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></span>&nbsp;<span class="memberName">newInternal</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>AssertionError</code></a></div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newInternal(java.lang.Throwable)">newInternal</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></span>&nbsp;<span class="memberName">newInternal</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;e)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> if checked; throw raw
exception if unchecked or <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Error</code></a></div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newInternal(java.lang.Throwable,java.lang.String)">newInternal</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></span>&nbsp;<span class="memberName">newInternal</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;e,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Throw new <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>AssertionError</code></a> if applicable;
or <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> if e is checked;
or raw exception if e is unchecked or <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Error</code></a>.</div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="throwIfUnchecked(java.lang.Throwable)">throwIfUnchecked</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">throwIfUnchecked</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="throwAsRuntime(java.lang.Throwable)">throwAsRuntime</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.26",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></span>&nbsp;<span class="memberName">throwAsRuntime</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</span></div>
<div class="block">This method rethrows input throwable as is (if its unchecked) or
wraps it with <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> and throws.
<p>The typical usage would be <code>throw throwAsRuntime(...)</code>, where <code>throw</code> statement
is needed so Java compiler knows the execution stops at that line.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>throwable</code> - input throwable</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the method never returns, it always throws an unchecked exception</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="throwAsRuntime(java.lang.String,java.lang.Throwable)">throwAsRuntime</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.26",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></span>&nbsp;<span class="memberName">throwAsRuntime</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</span></div>
<div class="block">This method rethrows input throwable as is (if its unchecked) with an extra message or
wraps it with <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> and throws.
<p>The typical usage would be <code>throw throwAsRuntime(...)</code>, where <code>throw</code> statement
is needed so Java compiler knows the execution stops at that line.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>throwable</code> - input throwable</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the method never returns, it always throws an unchecked exception</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toUnchecked(java.lang.Exception)">toUnchecked</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></span>&nbsp;<span class="memberName">toUnchecked</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a>&nbsp;e)</span></div>
<div class="block">Wraps an exception with <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>RuntimeException</code></a> and return it.
If the exception is already an instance of RuntimeException,
returns it directly.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="causeOrSelf(java.lang.Throwable)">causeOrSelf</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.26",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a></span>&nbsp;<span class="memberName">causeOrSelf</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;throwable)</span></div>
<div class="block">Returns cause of the given throwable if it is non-null or the throwable itself.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>throwable</code> - input throwable</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>cause of the given throwable if it is non-null or the throwable itself</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getMessages(java.lang.Throwable)">getMessages</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">getMessages</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;t)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Returns:</span></dt>
<dd>a non-null string containing all messages of the exception</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getStackTrace(java.lang.Throwable)">getStackTrace</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">getStackTrace</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;t)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Throwables.getStackTraceAsString(Throwable)</code></div>
</div>
<div class="block">Returns the stack trace of a throwable. Called from native code.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>t</code> - Throwable</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Stack trace</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="pre(boolean,java.lang.String)">pre</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">pre</span>&#8203;(<span class="arguments">boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#requireNonNull(T)" title="class or interface in java.util" class="externalLink"><code>Objects.requireNonNull(Object)</code></a></div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="post(boolean,java.lang.String)">post</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">post</span>&#8203;(<span class="arguments">boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code>
or <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Objects.html?is-external=true#requireNonNull(T)" title="class or interface in java.util" class="externalLink"><code>Objects.requireNonNull(Object)</code></a></div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="permAssert(boolean,java.lang.String)">permAssert</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">permAssert</span>&#8203;(<span class="arguments">boolean&nbsp;b,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;description)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Preconditions.checkArgument(boolean)</code></div>
</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="needToImplement(java.lang.Object)">needToImplement</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink">RuntimeException</a></span>&nbsp;<span class="memberName">needToImplement</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</span></div>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><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/9/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><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">Parameters:</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">Returns:</span></dt>
<dd>an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>UnsupportedOperationException</code></a>.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="deprecated(java.lang.Object,boolean)">
<!-- -->
</a><a id="deprecated(T,boolean)">deprecated</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType">T</span>&nbsp;<span class="memberName">deprecated</span>&#8203;(<span class="arguments">T&nbsp;argument,
boolean&nbsp;fail)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">If a piece of code calls this method, it indicates that the
code needs to be cleaned up.</div>
</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">Parameters:</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">Returns:</span></dt>
<dd>The value of the <code>argument</code>.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="contains(java.lang.String[],int,java.lang.String)">contains</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">contains</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]&nbsp;a,
int&nbsp;length,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
<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">Parameters:</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">Returns:</span></dt>
<dd>Whether array contains the name</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="readAllAsString(java.io.Reader)">readAllAsString</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">readAllAsString</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io" class="externalLink">Reader</a>&nbsp;reader)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Reads all remaining contents from a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>Reader</code></a> and returns
them as a string.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reader</code> - reader to read from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>reader contents as string</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchJar(java.util.jar.JarFile)">squelchJar</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchJar</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/jar/JarFile.html?is-external=true" title="class or interface in java.util.jar" class="externalLink">JarFile</a>&nbsp;jar)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>jar</code> - jar to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchStream(java.io.InputStream)">squelchStream</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchStream</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;stream)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>stream</code> - stream to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchStream(java.io.OutputStream)">squelchStream</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchStream</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a>&nbsp;stream)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>stream</code> - stream to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchReader(java.io.Reader)">squelchReader</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchReader</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io" class="externalLink">Reader</a>&nbsp;reader)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>reader</code> - reader to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchWriter(java.io.Writer)">squelchWriter</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchWriter</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io" class="externalLink">Writer</a>&nbsp;writer)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>writer</code> - writer to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchStmt(java.sql.Statement)">squelchStmt</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchStmt</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Statement.html?is-external=true" title="class or interface in java.sql" class="externalLink">Statement</a>&nbsp;stmt)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>stmt</code> - stmt to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="squelchConnection(java.sql.Connection)">squelchConnection</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">squelchConnection</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql" class="externalLink">Connection</a>&nbsp;connection)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></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">Parameters:</span></dt>
<dd><code>connection</code> - connection to close</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="rtrim(java.lang.String)">rtrim</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">rtrim</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Trims trailing spaces from a string.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - string to be trimmed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>trimmed string</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="rpad(java.lang.String,int)">rpad</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">rpad</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
int&nbsp;len)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Spaces.padRight(String, int)</code></div>
</div>
<div class="block">Pads a string with spaces up to a given length.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - string to be padded</dd>
<dd><code>len</code> - desired length</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>padded string</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toString(java.lang.Iterable,java.lang.String,java.lang.String,java.lang.String)">toString</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">toString</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;start,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sep,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;end)</span></div>
<div class="block">Converts an iterable to a string.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="lines(java.lang.Iterable)">lines</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">lines</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;strings)</span></div>
<div class="block">Converts a list of strings to a string separated by newlines.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="tokenize(java.lang.String,java.lang.String)">tokenize</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</span>&nbsp;<span class="memberName">tokenize</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;delim)</span></div>
<div class="block">Converts a string into tokens.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toPosix(java.util.TimeZone,boolean)">toPosix</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">toPosix</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util" class="externalLink">TimeZone</a>&nbsp;tz,
boolean&nbsp;verbose)</span></div>
<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">Parameters:</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">Returns:</span></dt>
<dd>Timezone in POSIX format (offset sign reversed, per boost's
idiosyncracies)</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="parseLocale(java.lang.String)">parseLocale</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util" class="externalLink">Locale</a></span>&nbsp;<span class="memberName">parseLocale</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;localeString)</span></div>
<div class="block">Parses a locale string.
<p>The inverse operation of <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Locale.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>Locale.toString()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>localeString</code> - Locale string, e.g. "en" or "en_US"</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Java locale object</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="cast(java.util.List,java.lang.Class)">cast</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">cast</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? super E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;clazz)</span></div>
<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/9/docs/api/java/util/List.html?is-external=true#get(int)" title="class or interface in java.util" class="externalLink"><code>List.get(int)</code></a>) will throw a
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>ClassCastException</code></a>.
<p>All modifications are automatically written to the backing list. Not
synchronized.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>list</code> - Backing list.</dd>
<dd><code>clazz</code> - Class to cast to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A list whose members are of the desired type.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="cast(java.util.Iterator,java.lang.Class)">cast</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E extends @PolyNull <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;</span>
<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;E&gt;</span>&nbsp;<span class="memberName">cast</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;? extends @PolyNull <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;&nbsp;iter,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;clazz)</span></div>
<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 instance of <code>E</code>,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true#next()" title="class or interface in java.util" class="externalLink"><code>Iterator.next()</code></a>) will throw a
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>ClassCastException</code></a>.
<p>All modifications are automatically written to the backing iterator.
Not synchronized.
<p>If the backing iterator has not-nullable elements,
the returned iterator has not-nullable elements.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>iter</code> - Backing iterator</dd>
<dd><code>clazz</code> - Class to cast to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An iterator whose members are of the desired type.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="cast(java.lang.Iterable,java.lang.Class)">cast</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</span>&nbsp;<span class="memberName">cast</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? super E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;clazz)</span></div>
<div class="block">Converts an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><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">Parameters:</span></dt>
<dd><code>iterable</code> - Backing iterable</dd>
<dd><code>clazz</code> - Class to cast to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An iterable whose members are of the desired type.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="filter(java.lang.Iterable,java.lang.Class)">filter</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</span>&nbsp;<span class="memberName">filter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;?&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;includeFilter)</span></div>
<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/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><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">Parameters:</span></dt>
<dd><code>iterable</code> - Iterable</dd>
<dd><code>includeFilter</code> - Class whose instances to include</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="filter(java.util.Collection,java.lang.Class)">filter</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;</span>&nbsp;<span class="memberName">filter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;?&gt;&nbsp;collection,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;includeFilter)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="filter(java.util.List,java.lang.Class)">filter</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">filter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;?&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;E&gt;&nbsp;includeFilter)</span></div>
<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">Parameters:</span></dt>
<dd><code>list</code> - List of objects</dd>
<dd><code>includeFilter</code> - Class to filter for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>List of objects of given class (or a subtype)</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toMap(java.util.Properties)">toMap</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</span>&nbsp;<span class="memberName">toMap</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util" class="externalLink">Properties</a>&nbsp;properties)</span></div>
<div class="block">Converts a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Properties</code></a> object to a <code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a>&lt;String,
String&gt;</code>.
<p>This is necessary because <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util" class="externalLink"><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/9/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Hashtable</code></a>&lt;Object,Object&gt;</code>.
<p>Typical usage, to iterate over a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util" class="externalLink"><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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="mapOf(java.lang.Object,java.lang.Object,java.lang.Object[])">
<!-- -->
</a><a id="mapOf(K,V,java.lang.Object...)">mapOf</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;K,&#8203;
V&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</span>&nbsp;<span class="memberName">mapOf</span>&#8203;(<span class="arguments">K&nbsp;key,
V&nbsp;value,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;keyValues)</span></div>
<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">Type Parameters:</span></dt>
<dd><code>K</code> - Key type</dd>
<dd><code>V</code> - Value type</dd>
<dt><span class="paramLabel">Parameters:</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">Returns:</span></dt>
<dd>Map with given contents</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="unexpected(java.lang.Enum)">
<!-- -->
</a><a id="unexpected(E)">unexpected</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;E&gt;&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang" class="externalLink">Error</a></span>&nbsp;<span class="memberName">unexpected</span>&#8203;(<span class="arguments">E&nbsp;value)</span></div>
<div class="block">Returns an exception indicating that we didn't expect to find this
enumeration here.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Enumeration value which was not expected</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an error, to be thrown</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="enumConstants(java.lang.Class)">enumConstants</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;T&gt;&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;T&gt;</span>&nbsp;<span class="memberName">enumConstants</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz)</span></div>
<div class="block">Creates a map of the values of an enumeration by name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clazz</code> - Enumeration class</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>map of values</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="enumVal(java.lang.Class,java.lang.String)">enumVal</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;T&gt;&gt;</span>&nbsp;<span class="returnType">@Nullable T</span>&nbsp;<span class="memberName">enumVal</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</span></div>
<div class="block">Returns the value of an enumeration with a particular name.
<p>Similar to <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class,java.lang.String)" title="class or interface in java.lang" class="externalLink"><code>Enum.valueOf(Class, String)</code></a>, but returns <code>
null</code> rather than throwing <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>IllegalArgumentException</code></a>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - Enum class type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clazz</code> - Enum class</dd>
<dd><code>name</code> - Name of enum constant</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Enum constant or null</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="enumVal(java.lang.Enum,java.lang.String)">
<!-- -->
</a><a id="enumVal(T,java.lang.String)">enumVal</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&lt;T&gt;&gt;</span>&nbsp;<span class="returnType">T</span>&nbsp;<span class="memberName">enumVal</span>&#8203;(<span class="arguments">T&nbsp;default_,
@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</span></div>
<div class="block">Returns the value of an enumeration with a particular or default value if
not found.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - Enum class type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>default_</code> - Default value (not null)</dd>
<dd><code>name</code> - Name of enum constant</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Enum constant, never null</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="quotientList(java.util.List,int,int)">quotientList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">quotientList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n,
int&nbsp;k)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="pairs(java.util.List)">pairs</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;E,&#8203;E&gt;&gt;</span>&nbsp;<span class="memberName">pairs</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Object,java.lang.Object)">
<!-- -->
</a><a id="first(T,T)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType">@PolyNull T</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable T&nbsp;v0,
@PolyNull T&nbsp;v1)</span></div>
<div class="block">Returns the first value if it is not null,
otherwise the second value.
<p>The result may be null only if the second argument is not null.
<p>Equivalent to the Elvis operator (<code>?:</code>) of languages such as
Groovy or PHP.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Double,double)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">double</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&nbsp;v0,
double&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Float,float)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">float</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&nbsp;v0,
float&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Integer,int)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&nbsp;v0,
int&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Long,long)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">long</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>&nbsp;v0,
long&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Boolean,boolean)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&nbsp;v0,
boolean&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Boolean</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Short,short)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">short</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink">Short</a>&nbsp;v0,
short&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Short</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Character,char)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">char</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink">Character</a>&nbsp;v0,
char&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Character</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.lang.Byte,byte)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">byte</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink">Byte</a>&nbsp;v0,
byte&nbsp;v1)</span></div>
<div class="block">Unboxes a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Byte</code></a> value,
using a given default value if it is null.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="orEmpty(java.lang.Iterable)">orEmpty</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;</span>&nbsp;<span class="memberName">orEmpty</span>&#8203;(<span class="arguments">@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;&nbsp;v0)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.util.List)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType">E</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<div class="block">Returns the first element of a list.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the list is empty</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="last(java.util.List)">last</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType">E</span>&nbsp;<span class="memberName">last</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<div class="block">Returns the last element of a list.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IndexOutOfBoundsException</a></code> - if the list is empty</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="first(java.util.List,int)">first</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">first</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</span></div>
<div class="block">Returns the first <code>n</code> elements of a list.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="skipLast(java.util.List)">skipLast</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">skipLast</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<div class="block">Returns every element of a list but its last element.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="skipLast(java.util.List,int)">skipLast</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">skipLast</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</span></div>
<div class="block">Returns every element of a list but its last <code>n</code> elements.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="last(java.util.List,int)">last</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">last</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;n)</span></div>
<div class="block">Returns the last <code>n</code> elements of a list.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="skip(java.util.List)">skip</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">skip</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<div class="block">Returns all but the first element of a list.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="skip(java.util.List,int)">skip</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">skip</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
int&nbsp;fromIndex)</span></div>
<div class="block">Returns all but the first <code>n</code> elements of a list.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="range(int)">range</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;</span>&nbsp;<span class="memberName">range</span>&#8203;(<span class="arguments">int&nbsp;end)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="range(int,int)">range</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;</span>&nbsp;<span class="memberName">range</span>&#8203;(<span class="arguments">int&nbsp;start,
int&nbsp;end)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isDistinct(java.util.List)">isDistinct</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">isDistinct</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<div class="block">Returns whether the elements of <code>list</code> are distinct.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="firstDuplicate(java.util.List)">firstDuplicate</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">firstDuplicate</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<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">Parameters:</span></dt>
<dd><code>list</code> - List</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Ordinal of first duplicate, or -1 if not found</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="distinctList(java.util.List)">distinctList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">distinctList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="distinctList(java.lang.Iterable)">distinctList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">distinctList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;&nbsp;keys)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="intersects(java.util.Collection,java.util.Collection)">intersects</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">intersects</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;&nbsp;c0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;&nbsp;c1)</span></div>
<div class="block">Returns whether two collections have any elements in common.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="findMatch(java.util.List,java.lang.String,boolean)">findMatch</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">findMatch</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;strings,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;seek,
boolean&nbsp;caseSensitive)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="matches(boolean,java.lang.String,java.lang.String)">matches</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">matches</span>&#8203;(<span class="arguments">boolean&nbsp;caseSensitive,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s1)</span></div>
<div class="block">Returns whether a name matches another according to a given
case-sensitivity policy.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="startsWith(java.util.List,java.util.List)">startsWith</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">startsWith</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list1)</span></div>
<div class="block">Returns whether one list is a prefix of another.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="listToString(java.util.List)">listToString</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">listToString</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;list)</span></div>
<div class="block">Converts ["ab", "c"] to "ab"."c".</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="stringToList(java.lang.String)">stringToList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</span>&nbsp;<span class="memberName">stringToList</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;s)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="human(double)">human</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">human</span>&#8203;(<span class="arguments">double&nbsp;d)</span></div>
<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>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="asIndexMapJ(java.util.Collection,java.util.function.Function)">asIndexMapJ</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;K,&#8203;
V&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</span>&nbsp;<span class="memberName">asIndexMapJ</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;V&gt;&nbsp;values,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;V,&#8203;K&gt;&nbsp;function)</span></div>
<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">Type Parameters:</span></dt>
<dd><code>K</code> - Key type</dd>
<dd><code>V</code> - Value type</dd>
<dt><span class="paramLabel">Parameters:</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">Returns:</span></dt>
<dd>Map that is a view onto the values</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="asIndexMap(java.util.Collection,com.google.common.base.Function)">asIndexMap</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;K,&#8203;
V&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</span>&nbsp;<span class="memberName">asIndexMap</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;V&gt;&nbsp;values,
com.google.common.base.Function&lt;V,&#8203;K&gt;&nbsp;function)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="debugCode(java.io.PrintStream,java.lang.String)">debugCode</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">debugCode</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintStream</a>&nbsp;out,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;code)</span></div>
<div class="block">Prints the given code with line numbering.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="immutableCopy(java.lang.Iterable)">immutableCopy</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&gt;</span>&nbsp;<span class="memberName">immutableCopy</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;&gt;&nbsp;lists)</span></div>
<div class="block">Returns a copy of a list of lists, making the component lists immutable if
they are not already.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="printWriter(java.io.OutputStream)">printWriter</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a></span>&nbsp;<span class="memberName">printWriter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a>&nbsp;out)</span></div>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>PrintWriter</code></a> to a given output stream using UTF-8
character set.
<p>Does not use the default character set.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="printWriter(java.io.File)">printWriter</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink">PrintWriter</a></span>&nbsp;<span class="memberName">printWriter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;file)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io" class="externalLink">FileNotFoundException</a></span></div>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io" class="externalLink"><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">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io" class="externalLink">FileNotFoundException</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="reader(java.io.InputStream)">reader</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink">BufferedReader</a></span>&nbsp;<span class="memberName">reader</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;in)</span></div>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>BufferedReader</code></a> to a given input stream using UTF-8
character set.
<p>Does not use the default character set.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="reader(java.io.File)">reader</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink">BufferedReader</a></span>&nbsp;<span class="memberName">reader</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;file)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/9/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io" class="externalLink">FileNotFoundException</a></span></div>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io" class="externalLink"><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">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io" class="externalLink">FileNotFoundException</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="asStringBuilder(java.lang.Appendable,java.util.function.Consumer)">asStringBuilder</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">asStringBuilder</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a>&nbsp;appendable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Consumer</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink">StringBuilder</a>&gt;&nbsp;consumer)</span></div>
<div class="block">Given an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Appendable</code></a>, performs an action that requires a
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>StringBuilder</code></a>. Casts the Appendable if possible.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="calendar()">calendar</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink">Calendar</a></span>&nbsp;<span class="memberName">calendar</span>()</div>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Calendar</code></a> in the UTC time zone and root locale.
Does not use the time zone or locale.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="calendar(long)">calendar</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink">Calendar</a></span>&nbsp;<span class="memberName">calendar</span>&#8203;(<span class="arguments">long&nbsp;millis)</span></div>
<div class="block">Creates a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Calendar</code></a> in the UTC time zone and root locale
with a given time.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toImmutableList()">toImmutableList</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;T&gt;</span>
<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a>&lt;T,&#8203;com.google.common.collect.ImmutableList.Builder&lt;T&gt;,&#8203;com.google.common.collect.ImmutableList&lt;T&gt;&gt;</span>&nbsp;<span class="memberName">toImmutableList</span>()</div>
<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="Bug.html#upgrade(java.lang.String)"><code>Guava 28.0-jre</code></a>.
Guava 21.0 introduced <code>ImmutableList.toImmutableList()</code>, but it had
a <code>Beta</code> tag until 28.0-jre.
<p>In <a href="Bug.html#upgrade(java.lang.String)"><code>Guava 21.0</code></a>, change this method to call
<code>ImmutableList.toImmutableList()</code>, ignoring the <code>@Beta</code> tag.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - Type of the input elements</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>Collector</code> that collects all the input elements into an
<code>ImmutableList</code>, in encounter order</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="combine(com.google.common.collect.ImmutableList.Builder,com.google.common.collect.ImmutableList.Builder)">combine</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>
<span class="returnType">com.google.common.collect.ImmutableList.Builder&lt;E&gt;</span>&nbsp;<span class="memberName">combine</span>&#8203;(<span class="arguments">com.google.common.collect.ImmutableList.Builder&lt;E&gt;&nbsp;b0,
com.google.common.collect.ImmutableList.Builder&lt;E&gt;&nbsp;b1)</span></div>
<div class="block">Combines a second immutable list builder into a first.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="combine(java.util.ArrayList,java.util.ArrayList)">combine</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;E&gt;</span>&nbsp;<span class="memberName">combine</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;E&gt;&nbsp;list0,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;E&gt;&nbsp;list1)</span></div>
<div class="block">Combines a second array list into a first.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="andThen(java.util.function.UnaryOperator,java.util.function.UnaryOperator)">andThen</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;X&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;X&gt;</span>&nbsp;<span class="memberName">andThen</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;X&gt;&nbsp;op1,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;X&gt;&nbsp;op2)</span></div>
<div class="block">Returns an operator that applies <code>op1</code> and then <code>op2</code>.
<p>As <a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true#andThen(java.util.function.Function)" title="class or interface in java.util.function" class="externalLink"><code>Function.andThen(Function)</code></a> but for <a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink"><code>UnaryOperator</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="transform(java.util.List,java.util.function.Function)">transform</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;F,&#8203;
T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;</span>&nbsp;<span class="memberName">transform</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends F&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;? super F,&#8203;? extends T&gt;&nbsp;function)</span></div>
<div class="block">Transforms a list, applying a function to each element.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="transformIndexed(java.util.List,java.util.function.BiFunction)">transformIndexed</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;F,&#8203;
T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T&gt;</span>&nbsp;<span class="memberName">transformIndexed</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends F&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/BiFunction.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiFunction</a>&lt;? super F,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>,&#8203;? extends T&gt;&nbsp;function)</span></div>
<div class="block">Transforms a list, applying a function to each element, also passing in
the element's index in the list.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="transform(java.lang.Iterable,java.util.function.Function)">transform</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.27",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;F,&#8203;
T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;</span>&nbsp;<span class="memberName">transform</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? extends F&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;? super F,&#8203;? extends T&gt;&nbsp;function)</span></div>
<div class="block">Transforms an iterable, applying a function to each element.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="transform(java.util.Iterator,java.util.function.Function)">transform</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.27",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;F,&#8203;
T&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;T&gt;</span>&nbsp;<span class="memberName">transform</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;? extends F&gt;&nbsp;iterator,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a>&lt;? super F,&#8203;? extends T&gt;&nbsp;function)</span></div>
<div class="block">Transforms an iterator.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="filter(java.lang.Iterable,java.util.function.Predicate)">filter</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.27",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</span>&nbsp;<span class="memberName">filter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;? extends E&gt;&nbsp;iterable,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Predicate</a>&lt;? super E&gt;&nbsp;predicate)</span></div>
<div class="block">Filters an iterable.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="filter(java.util.Iterator,java.util.function.Predicate)">filter</a></h3>
<div class="memberSignature"><span class="annotations">@API(since="1.27",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;E&gt;</span>&nbsp;<span class="memberName">filter</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a>&lt;? extends E&gt;&nbsp;iterator,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Predicate</a>&lt;? super E&gt;&nbsp;predicate)</span></div>
<div class="block">Filters an iterator.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="moveToHead(java.util.List,java.util.function.Predicate)">moveToHead</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">moveToHead</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends E&gt;&nbsp;terms,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Predicate</a>&lt;? super E&gt;&nbsp;predicate)</span></div>
<div class="block">Returns a list with any elements for which the predicate is true moved to
the head of the list. The algorithm does not modify the list, is stable,
and is idempotent.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="select(java.util.List,java.util.List)">select</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</span>&nbsp;<span class="memberName">select</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;&nbsp;ordinals)</span></div>
<div class="block">Returns a view of a list, picking the elements of a list with the given
set of ordinals.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="blackholeMap()">blackholeMap</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;K,&#8203;
V&gt;</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;K,&#8203;V&gt;</span>&nbsp;<span class="memberName">blackholeMap</span>()</div>
<div class="block">Returns a map which ignores any write operation.</div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; 2012-2021 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>