| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Sat Aug 08 22:45:01 CDT 2020 --> |
| <title>Comparators (Eclipse Collections - 10.3.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-08-08"> |
| <meta name="description" content="declaration: package: org.eclipse.collections.impl.block.factory, class: Comparators"> |
| <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":9,"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":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete 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="class-use/Comparators.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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> <a href="package-summary.html">org.eclipse.collections.impl.block.factory</a></div> |
| <h1 title="Class Comparators" class="title">Class Comparators</h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance">org.eclipse.collections.impl.block.factory.Comparators</div> |
| </div> |
| <section class="description"> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">Comparators</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ========== 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="t4" class="tableTab" onclick="show(8);">Concrete 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 <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascendingCollectionSizeComparator()">ascendingCollectionSizeComparator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byBooleanFunction(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">byBooleanFunction</a></span>​(<a href="../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byByteFunction(org.eclipse.collections.api.block.function.primitive.ByteFunction)">byByteFunction</a></span>​(<a href="../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byCharFunction(org.eclipse.collections.api.block.function.primitive.CharFunction)">byCharFunction</a></span>​(<a href="../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byDoubleFunction(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">byDoubleFunction</a></span>​(<a href="../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><T,​?>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byFirstOfPair(java.util.Comparator)">byFirstOfPair</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a comparator for pairs by using an existing comparator that only compares the first element of the pair</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byFloatFunction(org.eclipse.collections.api.block.function.primitive.FloatFunction)">byFloatFunction</a></span>​(<a href="../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>static <T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>><br><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byFunction(org.eclipse.collections.api.block.function.Function)">byFunction</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>static <T,​ |
| V> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byFunction(org.eclipse.collections.api.block.function.Function,java.util.Comparator)">byFunction</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><V> comparator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>static <T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>><br><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byFunctionNullsFirst(org.eclipse.collections.api.block.function.Function)">byFunctionNullsFirst</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code>static <T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>><br><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byFunctionNullsLast(org.eclipse.collections.api.block.function.Function)">byFunctionNullsLast</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byIntFunction(org.eclipse.collections.api.block.function.primitive.IntFunction)">byIntFunction</a></span>​(<a href="../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byLongFunction(org.eclipse.collections.api.block.function.primitive.LongFunction)">byLongFunction</a></span>​(<a href="../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><?,​T>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bySecondOfPair(java.util.Comparator)">bySecondOfPair</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a comparator for pairs by using an existing comparator that only compares the second element of the pair</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byShortFunction(org.eclipse.collections.api.block.function.primitive.ShortFunction)">byShortFunction</a></span>​(<a href="../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a><T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#chain(java.util.Comparator...)">chain</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T>... comparators)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#comparableComparator()">comparableComparator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>static <T> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#comparableComparatorIfNull(java.util.Comparator)">comparableComparatorIfNull</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T> comparator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>static <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descendingCollectionSizeComparator()">descendingCollectionSizeComparator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code>static <T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>><br><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromFunctions(org.eclipse.collections.api.block.function.Function)">fromFunctions</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> one)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>static <T,​ |
| V1 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V1>,​ |
| V2 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V2>><br><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromFunctions(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">fromFunctions</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V1> one, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V2> two)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>static <T,​ |
| V1 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V1>,​ |
| V2 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V2>,​ |
| V3 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V3>><br><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromFunctions(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">fromFunctions</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V1> one, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V2> two, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V3> three)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#naturalOrder()">naturalOrder</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Uses the natural compareTo methods of the objects which will throw if there are any nulls.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>static <T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><T>><br>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullSafeCompare(T,T)">nullSafeCompare</a></span>​(T value1, |
| T value2)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullSafeEquals(java.lang.Object,java.lang.Object)">nullSafeEquals</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value1, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value2)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="../../../api/set/sorted/SortedSetIterable.html" title="interface in org.eclipse.collections.api.set.sorted">SortedSetIterable</a><T>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#powerSet()">powerSet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reverse(java.util.Comparator)">reverse</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T> comparator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reverseNaturalOrder()">reverseNaturalOrder</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Uses the natural compareTo methods of the objects which will throw if there are any nulls.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#safeNullsHigh(java.util.Comparator)">safeNullsHigh</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T> notNullSafeComparator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code>static <T> <a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#safeNullsLow(java.util.Comparator)">safeNullsLow</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T> notNullSafeComparator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/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/8/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/8/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/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/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/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ 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="comparableComparator()">comparableComparator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">comparableComparator</span>()</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="comparableComparatorIfNull(java.util.Comparator)">comparableComparatorIfNull</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T></span> <span class="memberName">comparableComparatorIfNull</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T> comparator)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="naturalOrder()">naturalOrder</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">naturalOrder</span>()</div> |
| <div class="block">Uses the natural compareTo methods of the objects which will throw if there are any nulls.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reverseNaturalOrder()">reverseNaturalOrder</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">reverseNaturalOrder</span>()</div> |
| <div class="block">Uses the natural compareTo methods of the objects which will throw if there are any nulls.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reverse(java.util.Comparator)">reverse</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">reverse</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T> comparator)</span></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>comparator</code> - original comparator whose order will be reversed</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A comparator that reverses the order of any other Serializable Comparator.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="safeNullsLow(java.util.Comparator)">safeNullsLow</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">safeNullsLow</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T> notNullSafeComparator)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="safeNullsHigh(java.util.Comparator)">safeNullsHigh</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">safeNullsHigh</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T> notNullSafeComparator)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="chain(java.util.Comparator...)">chain</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/SafeVarargs.html?is-external=true" title="class or interface in java.lang" class="externalLink">@SafeVarargs</a> |
| </span><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">chain</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><T>... comparators)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fromFunctions(org.eclipse.collections.api.block.function.Function)">fromFunctions</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">fromFunctions</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> one)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fromFunctions(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">fromFunctions</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParametersLong"><T,​ |
| V1 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V1>,​ |
| V2 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V2>></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">fromFunctions</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V1> one, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V2> two)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fromFunctions(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">fromFunctions</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParametersLong"><T,​ |
| V1 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V1>,​ |
| V2 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V2>,​ |
| V3 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V3>></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">fromFunctions</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V1> one, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V2> two, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V3> three)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="powerSet()">powerSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="../../../api/set/sorted/SortedSetIterable.html" title="interface in org.eclipse.collections.api.set.sorted">SortedSetIterable</a><T>></span> <span class="memberName">powerSet</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="ascendingCollectionSizeComparator()">ascendingCollectionSizeComparator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?>></span> <span class="memberName">ascendingCollectionSizeComparator</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="descendingCollectionSizeComparator()">descendingCollectionSizeComparator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?>></span> <span class="memberName">descendingCollectionSizeComparator</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byFirstOfPair(java.util.Comparator)">byFirstOfPair</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><T,​?>></span> <span class="memberName">byFirstOfPair</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T> comparator)</span></div> |
| <div class="block">Creates a comparator for pairs by using an existing comparator that only compares the first element of the pair</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>comparator</code> - original comparator that compares the first element of the pair</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A comparator that compares pairs only by their first element</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="bySecondOfPair(java.util.Comparator)">bySecondOfPair</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><?,​T>></span> <span class="memberName">bySecondOfPair</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super T> comparator)</span></div> |
| <div class="block">Creates a comparator for pairs by using an existing comparator that only compares the second element of the pair</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>comparator</code> - original comparator that compares the second element of the pair</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A comparator that compares pairs only by their second element</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byFunction(org.eclipse.collections.api.block.function.Function)">byFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byFunction</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byFunctionNullsLast(org.eclipse.collections.api.block.function.Function)">byFunctionNullsLast</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byFunctionNullsLast</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byFunctionNullsFirst(org.eclipse.collections.api.block.function.Function)">byFunctionNullsFirst</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T,​ |
| V extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super V>></span> |
| <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byFunctionNullsFirst</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byBooleanFunction(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">byBooleanFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byBooleanFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byByteFunction(org.eclipse.collections.api.block.function.primitive.ByteFunction)">byByteFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byByteFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byCharFunction(org.eclipse.collections.api.block.function.primitive.CharFunction)">byCharFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byCharFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byDoubleFunction(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">byDoubleFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byDoubleFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byFloatFunction(org.eclipse.collections.api.block.function.primitive.FloatFunction)">byFloatFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byFloatFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byIntFunction(org.eclipse.collections.api.block.function.primitive.IntFunction)">byIntFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byIntFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byLongFunction(org.eclipse.collections.api.block.function.primitive.LongFunction)">byLongFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byLongFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byShortFunction(org.eclipse.collections.api.block.function.primitive.ShortFunction)">byShortFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byShortFunction</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a><T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="byFunction(org.eclipse.collections.api.block.function.Function,java.util.Comparator)">byFunction</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T,​ |
| V></span> <span class="returnType"><a href="../../../api/block/SerializableComparator.html" title="interface in org.eclipse.collections.api.block">SerializableComparator</a><T></span> <span class="memberName">byFunction</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super T,​? extends V> function, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><V> comparator)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="nullSafeEquals(java.lang.Object,java.lang.Object)">nullSafeEquals</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType">boolean</span> <span class="memberName">nullSafeEquals</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value1, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value2)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="nullSafeCompare(java.lang.Comparable,java.lang.Comparable)"> |
| <!-- --> |
| </a><a id="nullSafeCompare(T,T)">nullSafeCompare</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><T extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><T>></span> <span class="returnType">int</span> <span class="memberName">nullSafeCompare</span>​(<span class="arguments">T value1, |
| T value2)</span></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="class-use/Comparators.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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 © 2004–2020. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |