| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 --> |
| <title>IntIterable (Eclipse Collections - 10.4.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-08-20"> |
| <meta name="description" content="declaration: package: org.eclipse.collections.api, interface: IntIterable"> |
| <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":6,"i1":6,"i2":6,"i3":6,"i4":18,"i5":18,"i6":6,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":18,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":18,"i30":6,"i31":6,"i32":6,"i33":18,"i34":18,"i35":6,"i36":18,"i37":6,"i38":18,"i39":6,"i40":18,"i41":18,"i42":6,"i43":18,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default 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/IntIterable.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.api</a></div> |
| <h1 title="Interface IntIterable" class="title">Interface IntIterable</h1> |
| </div> |
| <div class="contentContainer"> |
| <section class="description"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><code><a href="PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| <dl> |
| <dt>All Known Subinterfaces:</dt> |
| <dd><code><a href="map/primitive/ByteIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ByteIntMap</a></code>, <code><a href="map/primitive/CharIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">CharIntMap</a></code>, <code><a href="map/primitive/DoubleIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">DoubleIntMap</a></code>, <code><a href="map/primitive/FloatIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">FloatIntMap</a></code>, <code><a href="map/primitive/ImmutableByteIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableByteIntMap</a></code>, <code><a href="map/primitive/ImmutableCharIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableCharIntMap</a></code>, <code><a href="map/primitive/ImmutableDoubleIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableDoubleIntMap</a></code>, <code><a href="map/primitive/ImmutableFloatIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableFloatIntMap</a></code>, <code><a href="bag/primitive/ImmutableIntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">ImmutableIntBag</a></code>, <code><a href="collection/primitive/ImmutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">ImmutableIntCollection</a></code>, <code><a href="map/primitive/ImmutableIntIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableIntIntMap</a></code>, <code><a href="list/primitive/ImmutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">ImmutableIntList</a></code>, <code><a href="set/primitive/ImmutableIntSet.html" title="interface in org.eclipse.collections.api.set.primitive">ImmutableIntSet</a></code>, <code><a href="stack/primitive/ImmutableIntStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ImmutableIntStack</a></code>, <code><a href="map/primitive/ImmutableLongIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableLongIntMap</a></code>, <code><a href="map/primitive/ImmutableObjectIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableObjectIntMap</a><K></code>, <code><a href="map/primitive/ImmutableShortIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableShortIntMap</a></code>, <code><a href="bag/primitive/IntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">IntBag</a></code>, <code><a href="map/primitive/IntIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntIntMap</a></code>, <code><a href="list/primitive/IntList.html" title="interface in org.eclipse.collections.api.list.primitive">IntList</a></code>, <code><a href="set/primitive/IntSet.html" title="interface in org.eclipse.collections.api.set.primitive">IntSet</a></code>, <code><a href="stack/primitive/IntStack.html" title="interface in org.eclipse.collections.api.stack.primitive">IntStack</a></code>, <code><a href="map/primitive/IntValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntValuesMap</a></code>, <code><a href="LazyIntIterable.html" title="interface in org.eclipse.collections.api">LazyIntIterable</a></code>, <code><a href="map/primitive/LongIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">LongIntMap</a></code>, <code><a href="map/primitive/MutableByteIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteIntMap</a></code>, <code><a href="map/primitive/MutableCharIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableCharIntMap</a></code>, <code><a href="map/primitive/MutableDoubleIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableDoubleIntMap</a></code>, <code><a href="map/primitive/MutableFloatIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableFloatIntMap</a></code>, <code><a href="bag/primitive/MutableIntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableIntBag</a></code>, <code><a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a></code>, <code><a href="map/primitive/MutableIntIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntIntMap</a></code>, <code><a href="list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</a></code>, <code><a href="set/primitive/MutableIntSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableIntSet</a></code>, <code><a href="stack/primitive/MutableIntStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableIntStack</a></code>, <code><a href="map/primitive/MutableIntValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntValuesMap</a></code>, <code><a href="map/primitive/MutableLongIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableLongIntMap</a></code>, <code><a href="map/primitive/MutableObjectIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectIntMap</a><K></code>, <code><a href="map/primitive/MutableShortIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableShortIntMap</a></code>, <code><a href="map/primitive/ObjectIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ObjectIntMap</a><K></code>, <code><a href="ordered/primitive/OrderedIntIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedIntIterable</a></code>, <code><a href="ordered/primitive/ReversibleIntIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">ReversibleIntIterable</a></code>, <code><a href="map/primitive/ShortIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">ShortIntMap</a></code></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="../impl/set/immutable/primitive/AbstractImmutableIntSet.html" title="class in org.eclipse.collections.impl.set.immutable.primitive">AbstractImmutableIntSet</a></code>, <code><a href="../impl/map/immutable/primitive/AbstractImmutableObjectIntMap.html" title="class in org.eclipse.collections.impl.map.immutable.primitive">AbstractImmutableObjectIntMap</a></code>, <code><a href="../impl/primitive/AbstractIntIterable.html" title="class in org.eclipse.collections.impl.primitive">AbstractIntIterable</a></code>, <code><a href="../impl/set/primitive/AbstractIntSet.html" title="class in org.eclipse.collections.impl.set.primitive">AbstractIntSet</a></code>, <code><a href="../impl/stack/primitive/AbstractIntStack.html" title="class in org.eclipse.collections.impl.stack.primitive">AbstractIntStack</a></code>, <code><a href="../impl/lazy/primitive/AbstractLazyIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">AbstractLazyIntIterable</a></code>, <code><a href="../impl/map/mutable/primitive/AbstractMutableIntKeySet.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">AbstractMutableIntKeySet</a></code>, <code><a href="../impl/map/mutable/primitive/AbstractMutableIntValuesMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">AbstractMutableIntValuesMap</a></code>, <code><a href="../impl/collection/mutable/primitive/AbstractSynchronizedIntCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">AbstractSynchronizedIntCollection</a></code>, <code><a href="../impl/collection/mutable/primitive/AbstractUnmodifiableIntCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">AbstractUnmodifiableIntCollection</a></code>, <code><a href="../impl/map/mutable/primitive/ByteIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ByteIntHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/CharIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">CharIntHashMap</a></code>, <code><a href="../impl/string/immutable/CodePointAdapter.html" title="class in org.eclipse.collections.impl.string.immutable">CodePointAdapter</a></code>, <code><a href="../impl/string/immutable/CodePointList.html" title="class in org.eclipse.collections.impl.string.immutable">CodePointList</a></code>, <code><a href="../impl/lazy/primitive/CollectBooleanToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectBooleanToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectByteToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectByteToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectCharToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectCharToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectDoubleToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectDoubleToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectFloatToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectFloatToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectIntToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectIntToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectLongToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectLongToIntIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectShortToIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectShortToIntIterable</a></code>, <code><a href="../impl/map/mutable/primitive/DoubleIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">DoubleIntHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/FloatIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">FloatIntHashMap</a></code>, <code><a href="../impl/list/mutable/primitive/IntArrayList.html" title="class in org.eclipse.collections.impl.list.mutable.primitive">IntArrayList</a></code>, <code><a href="../impl/stack/mutable/primitive/IntArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">IntArrayStack</a></code>, <code><a href="../impl/bag/mutable/primitive/IntHashBag.html" title="class in org.eclipse.collections.impl.bag.mutable.primitive">IntHashBag</a></code>, <code><a href="../impl/set/mutable/primitive/IntHashSet.html" title="class in org.eclipse.collections.impl.set.mutable.primitive">IntHashSet</a></code>, <code><a href="../impl/list/primitive/IntInterval.html" title="class in org.eclipse.collections.impl.list.primitive">IntInterval</a></code>, <code><a href="../impl/map/mutable/primitive/IntIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">IntIntHashMap</a></code>, <code><a href="../impl/lazy/primitive/LazyIntIterableAdapter.html" title="class in org.eclipse.collections.impl.lazy.primitive">LazyIntIterableAdapter</a></code>, <code><a href="../impl/map/mutable/primitive/LongIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">LongIntHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/ObjectIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ObjectIntHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/ObjectIntHashMapWithHashingStrategy.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ObjectIntHashMapWithHashingStrategy</a></code>, <code><a href="../impl/lazy/primitive/ReverseIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">ReverseIntIterable</a></code>, <code><a href="../impl/lazy/primitive/SelectIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">SelectIntIterable</a></code>, <code><a href="../impl/map/mutable/primitive/ShortIntHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ShortIntHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedByteIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedByteIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedCharIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedCharIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedDoubleIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedDoubleIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedFloatIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedFloatIntMap</a></code>, <code><a href="../impl/bag/mutable/primitive/SynchronizedIntBag.html" title="class in org.eclipse.collections.impl.bag.mutable.primitive">SynchronizedIntBag</a></code>, <code><a href="../impl/collection/mutable/primitive/SynchronizedIntCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">SynchronizedIntCollection</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedIntIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedIntIntMap</a></code>, <code><a href="../impl/primitive/SynchronizedIntIterable.html" title="class in org.eclipse.collections.impl.primitive">SynchronizedIntIterable</a></code>, <code><a href="../impl/list/mutable/primitive/SynchronizedIntList.html" title="class in org.eclipse.collections.impl.list.mutable.primitive">SynchronizedIntList</a></code>, <code><a href="../impl/set/mutable/primitive/SynchronizedIntSet.html" title="class in org.eclipse.collections.impl.set.mutable.primitive">SynchronizedIntSet</a></code>, <code><a href="../impl/stack/mutable/primitive/SynchronizedIntStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">SynchronizedIntStack</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedLongIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedLongIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedObjectIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedObjectIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedShortIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedShortIntMap</a></code>, <code><a href="../impl/lazy/primitive/TapIntIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">TapIntIterable</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableByteIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableByteIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableCharIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableCharIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableDoubleIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableDoubleIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableFloatIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableFloatIntMap</a></code>, <code><a href="../impl/bag/mutable/primitive/UnmodifiableIntBag.html" title="class in org.eclipse.collections.impl.bag.mutable.primitive">UnmodifiableIntBag</a></code>, <code><a href="../impl/collection/mutable/primitive/UnmodifiableIntCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">UnmodifiableIntCollection</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableIntIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableIntIntMap</a></code>, <code><a href="../impl/list/mutable/primitive/UnmodifiableIntList.html" title="class in org.eclipse.collections.impl.list.mutable.primitive">UnmodifiableIntList</a></code>, <code><a href="../impl/set/mutable/primitive/UnmodifiableIntSet.html" title="class in org.eclipse.collections.impl.set.mutable.primitive">UnmodifiableIntSet</a></code>, <code><a href="../impl/stack/mutable/primitive/UnmodifiableIntStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">UnmodifiableIntStack</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableLongIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableLongIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableObjectIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableObjectIntMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableShortIntMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableShortIntMap</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">IntIterable</span> |
| extends <a href="PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></pre> |
| <div class="block">IntIterable is an interface which is memory-optimized for int primitives. |
| It is inspired by the interface RichIterable, and contains a subset of the internal iterator methods on RichIterable like collect, sum, etc. |
| The API also includes an external iterator method, which returns an IntIterator. IntIterator helps iterate over the IntIterable without boxing the primitives. |
| This file was automatically generated from template file primitiveIterable.stg.</div> |
| </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="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="t3" class="tableTab" onclick="show(4);">Abstract Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t5" class="tableTab" onclick="show(16);">Default 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>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">allSatisfy</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all of the elements in the IntIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">anySatisfy</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if any of the elements in the IntIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code><a href="LazyIntIterable.html" title="interface in org.eclipse.collections.api">LazyIntIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asLazy()">asLazy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a LazyIntIterable adapter wrapping the source IntIterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#average()">average</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>default double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#averageIfEmpty(double)">averageIfEmpty</a></span>​(double defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>default <a href="RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#chunk(int)">chunk</a></span>​(int size)</code></th> |
| <td class="colLast"> |
| <div class="block">Partitions elements in fixed size chunks.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code><V> <a href="RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction)">collect</a></span>​(<a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToObjectFunction</a><? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new collection with the results of applying the specified function on each element of the source |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>default <V,​ |
| R extends <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><V>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction,R)">collect</a></span>​(<a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToObjectFunction</a><? extends V> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction)"><code>collect(IntToObjectFunction)</code></a> , only the results are added to the target Collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectBoolean(org.eclipse.collections.api.block.function.primitive.IntToBooleanFunction,R)">collectBoolean</a></span>​(<a href="block/function/primitive/IntToBooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToBooleanFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableBooleanCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectByte(org.eclipse.collections.api.block.function.primitive.IntToByteFunction,R)">collectByte</a></span>​(<a href="block/function/primitive/IntToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToByteFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableByteCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectChar(org.eclipse.collections.api.block.function.primitive.IntToCharFunction,R)">collectChar</a></span>​(<a href="block/function/primitive/IntToCharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToCharFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableCharCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectDouble(org.eclipse.collections.api.block.function.primitive.IntToDoubleFunction,R)">collectDouble</a></span>​(<a href="block/function/primitive/IntToDoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToDoubleFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableDoubleCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectFloat(org.eclipse.collections.api.block.function.primitive.IntToFloatFunction,R)">collectFloat</a></span>​(<a href="block/function/primitive/IntToFloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToFloatFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableFloatCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectInt(org.eclipse.collections.api.block.function.primitive.IntToIntFunction,R)">collectInt</a></span>​(<a href="block/function/primitive/IntToIntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToIntFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableIntCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectLong(org.eclipse.collections.api.block.function.primitive.IntToLongFunction,R)">collectLong</a></span>​(<a href="block/function/primitive/IntToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToLongFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableLongCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectShort(org.eclipse.collections.api.block.function.primitive.IntToShortFunction,R)">collectShort</a></span>​(<a href="block/function/primitive/IntToShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToShortFunction</a> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the target <code>MutableShortCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(int)">contains</a></span>​(int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the value is contained in the IntIterable, and false if it is not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(int...)">containsAll</a></span>​(int... source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the all of the values specified in the source array are contained |
| in the IntIterable, and false if they are not.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(org.eclipse.collections.api.IntIterable)">containsAll</a></span>​(<a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a> source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the all of the values specified in the source IntIterable are contained |
| in the IntIterable, and false if they are not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">count</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a count of the number of elements in the IntIterable that return true for the |
| specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,int)">detectIfNone</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate, |
| int ifNone)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">each</a></span>​(<a href="block/procedure/primitive/IntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">IntProcedure</a> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">A synonym for forEach.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>default <V,​ |
| R extends <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><V>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction,R)">flatCollect</a></span>​(<a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToObjectFunction</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block"><code>flatCollect</code> is a special case of <a href="#collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction)"><code>collect(IntToObjectFunction)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">forEach</a></span>​(<a href="block/procedure/primitive/IntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">IntProcedure</a> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies the IntProcedure to each element in the IntIterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code><T> T</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">injectInto</a></span>​(T injectedValue, |
| <a href="block/function/primitive/ObjectIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectIntToObjectFunction</a><? super T,​? extends T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code><a href="iterator/IntIterator.html" title="interface in org.eclipse.collections.api.iterator">IntIterator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intIterator()">intIterator</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a primitive iterator that can be used to iterate over the IntIterable in an |
| imperative style.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#max()">max</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxIfEmpty(int)">maxIfEmpty</a></span>​(int defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#median()">median</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code>default double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#medianIfEmpty(double)">medianIfEmpty</a></span>​(double defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i30"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#min()">min</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i31"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minIfEmpty(int)">minIfEmpty</a></span>​(int defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i32"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">noneSatisfy</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if none of the elements in the IntIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i33"> |
| <td class="colFirst"><code>default long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reduce(org.eclipse.collections.api.block.function.primitive.LongIntToLongFunction)">reduce</a></span>​(<a href="block/function/primitive/LongIntToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToLongFunction</a> accumulator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i34"> |
| <td class="colFirst"><code>default long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reduceIfEmpty(org.eclipse.collections.api.block.function.primitive.LongIntToLongFunction,long)">reduceIfEmpty</a></span>​(<a href="block/function/primitive/LongIntToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToLongFunction</a> accumulator, |
| long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code><a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">reject</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new IntIterable with all of the elements in the IntIterable that |
| return false for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,R)">reject</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)"><code>reject(IntPredicate)</code></a> , only the results are added to the target MutableIntCollection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i37"> |
| <td class="colFirst"><code><a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">select</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new IntIterable with all of the elements in the IntIterable that |
| return true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i38"> |
| <td class="colFirst"><code>default <R extends <a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,R)">select</a></span>​(<a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)"><code>select(IntPredicate)</code></a> , only the results are added to the target MutableIntCollection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i39"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum()">sum</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/IntSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">IntSummaryStatistics</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#summaryStatistics()">summaryStatistics</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i41"> |
| <td class="colFirst"><code>default <a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tap(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">tap</a></span>​(<a href="block/procedure/primitive/IntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">IntProcedure</a> procedure)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code>int[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray()">toArray</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the IntIterable to a primitive int array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code>default int[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray(int%5B%5D)">toArray</a></span>​(int[] target)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the IntIterable to a primitive int array.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code><a href="bag/primitive/MutableIntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableIntBag</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBag()">toBag</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the IntIterable to a new MutableIntBag.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <td class="colFirst"><code><a href="list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toList()">toList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the IntIterable to a new MutableIntList.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code><a href="set/primitive/MutableIntSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableIntSet</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSet()">toSet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the IntIterable to a new MutableIntSet.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code>int[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedArray()">toSortedArray</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code><a href="list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedList()">toSortedList</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.PrimitiveIterable"> |
| <!-- --> |
| </a><code><a href="PrimitiveIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="PrimitiveIterable.html#isEmpty()">isEmpty</a>, <a href="PrimitiveIterable.html#makeString()">makeString</a>, <a href="PrimitiveIterable.html#makeString(java.lang.String)">makeString</a>, <a href="PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="PrimitiveIterable.html#notEmpty()">notEmpty</a>, <a href="PrimitiveIterable.html#size()">size</a>, <a href="PrimitiveIterable.html#toString()">toString</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="intIterator()">intIterator</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="iterator/IntIterator.html" title="interface in org.eclipse.collections.api.iterator">IntIterator</a></span> <span class="memberName">intIterator</span>()</div> |
| <div class="block">Returns a primitive iterator that can be used to iterate over the IntIterable in an |
| imperative style.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray()">toArray</a></h3> |
| <div class="memberSignature"><span class="returnType">int[]</span> <span class="memberName">toArray</span>()</div> |
| <div class="block">Converts the IntIterable to a primitive int array.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray(int[])">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">int[]</span> <span class="memberName">toArray</span>​(<span class="arguments">int[] target)</span></div> |
| <div class="block">Converts the IntIterable to a primitive int array. If the collection fits into the provided array it is used |
| to store its elements and is returned from the method, otherwise a new array of the appropriate size is allocated |
| and returned. If the iterable is empty, the target array is returned unchanged.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="contains(int)">contains</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">contains</span>​(<span class="arguments">int value)</span></div> |
| <div class="block">Returns true if the value is contained in the IntIterable, and false if it is not.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(int...)">containsAll</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments">int... source)</span></div> |
| <div class="block">Returns true if the all of the values specified in the source array are contained |
| in the IntIterable, and false if they are not.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(org.eclipse.collections.api.IntIterable)">containsAll</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments"><a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a> source)</span></div> |
| <div class="block">Returns true if the all of the values specified in the source IntIterable are contained |
| in the IntIterable, and false if they are not.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEach(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">forEach</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">forEach</span>​(<span class="arguments"><a href="block/procedure/primitive/IntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">IntProcedure</a> procedure)</span></div> |
| <div class="block">Applies the IntProcedure to each element in the IntIterable.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="each(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">each</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">each</span>​(<span class="arguments"><a href="block/procedure/primitive/IntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">IntProcedure</a> procedure)</span></div> |
| <div class="block">A synonym for forEach.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>7.0.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="tap(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">tap</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType"><a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a></span> <span class="memberName">tap</span>​(<span class="arguments"><a href="block/procedure/primitive/IntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">IntProcedure</a> procedure)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.0.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">select</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a></span> <span class="memberName">select</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</span></div> |
| <div class="block">Returns a new IntIterable with all of the elements in the IntIterable that |
| return true for the specified predicate.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">reject</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</span></div> |
| <div class="block">Returns a new IntIterable with all of the elements in the IntIterable that |
| return false for the specified predicate.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,org.eclipse.collections.api.collection.primitive.MutableIntCollection)"> |
| <!-- --> |
| </a><a id="select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,R)">select</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>></span> <span class="returnType">R</span> <span class="memberName">select</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate, |
| R target)</span></div> |
| <div class="block">Same as <a href="#select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)"><code>select(IntPredicate)</code></a> , only the results are added to the target MutableIntCollection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,org.eclipse.collections.api.collection.primitive.MutableIntCollection)"> |
| <!-- --> |
| </a><a id="reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,R)">reject</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>></span> <span class="returnType">R</span> <span class="memberName">reject</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate, |
| R target)</span></div> |
| <div class="block">Same as <a href="#reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)"><code>reject(IntPredicate)</code></a> , only the results are added to the target MutableIntCollection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction)">collect</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><V></span> <span class="memberName">collect</span>​(<span class="arguments"><a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToObjectFunction</a><? extends V> function)</span></div> |
| <div class="block">Returns a new collection with the results of applying the specified function on each element of the source |
| collection. This method is also commonly called transform or map.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction,R)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><V,​ |
| R extends <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><V>></span> <span class="returnType">R</span> <span class="memberName">collect</span>​(<span class="arguments"><a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToObjectFunction</a><? extends V> function, |
| R target)</span></div> |
| <div class="block">Same as <a href="#collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction)"><code>collect(IntToObjectFunction)</code></a> , only the results are added to the target Collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction,java.util.Collection)"> |
| <!-- --> |
| </a><a id="flatCollect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction,R)">flatCollect</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><V,​ |
| R extends <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><V>></span> <span class="returnType">R</span> <span class="memberName">flatCollect</span>​(<span class="arguments"><a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToObjectFunction</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function, |
| R target)</span></div> |
| <div class="block"><code>flatCollect</code> is a special case of <a href="#collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction)"><code>collect(IntToObjectFunction)</code></a>. With <code>collect</code>, when the <a href="block/function/primitive/IntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>IntToObjectFunction</code></a> returns |
| a collection, the result is a collection of collections. <code>flatCollect</code> outputs a single "flattened" collection |
| instead. This method is commonly called flatMap.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.IntToBooleanFunction,org.eclipse.collections.api.collection.primitive.MutableBooleanCollection)"> |
| <!-- --> |
| </a><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.IntToBooleanFunction,R)">collectBoolean</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectBoolean</span>​(<span class="arguments"><a href="block/function/primitive/IntToBooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToBooleanFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableBooleanCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectByte(org.eclipse.collections.api.block.function.primitive.IntToByteFunction,org.eclipse.collections.api.collection.primitive.MutableByteCollection)"> |
| <!-- --> |
| </a><a id="collectByte(org.eclipse.collections.api.block.function.primitive.IntToByteFunction,R)">collectByte</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectByte</span>​(<span class="arguments"><a href="block/function/primitive/IntToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToByteFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableByteCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectChar(org.eclipse.collections.api.block.function.primitive.IntToCharFunction,org.eclipse.collections.api.collection.primitive.MutableCharCollection)"> |
| <!-- --> |
| </a><a id="collectChar(org.eclipse.collections.api.block.function.primitive.IntToCharFunction,R)">collectChar</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectChar</span>​(<span class="arguments"><a href="block/function/primitive/IntToCharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToCharFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableCharCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectShort(org.eclipse.collections.api.block.function.primitive.IntToShortFunction,org.eclipse.collections.api.collection.primitive.MutableShortCollection)"> |
| <!-- --> |
| </a><a id="collectShort(org.eclipse.collections.api.block.function.primitive.IntToShortFunction,R)">collectShort</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectShort</span>​(<span class="arguments"><a href="block/function/primitive/IntToShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToShortFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableShortCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectInt(org.eclipse.collections.api.block.function.primitive.IntToIntFunction,org.eclipse.collections.api.collection.primitive.MutableIntCollection)"> |
| <!-- --> |
| </a><a id="collectInt(org.eclipse.collections.api.block.function.primitive.IntToIntFunction,R)">collectInt</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectInt</span>​(<span class="arguments"><a href="block/function/primitive/IntToIntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToIntFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableIntCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.IntToFloatFunction,org.eclipse.collections.api.collection.primitive.MutableFloatCollection)"> |
| <!-- --> |
| </a><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.IntToFloatFunction,R)">collectFloat</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectFloat</span>​(<span class="arguments"><a href="block/function/primitive/IntToFloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToFloatFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableFloatCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectLong(org.eclipse.collections.api.block.function.primitive.IntToLongFunction,org.eclipse.collections.api.collection.primitive.MutableLongCollection)"> |
| <!-- --> |
| </a><a id="collectLong(org.eclipse.collections.api.block.function.primitive.IntToLongFunction,R)">collectLong</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectLong</span>​(<span class="arguments"><a href="block/function/primitive/IntToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToLongFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableLongCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.IntToDoubleFunction,org.eclipse.collections.api.collection.primitive.MutableDoubleCollection)"> |
| <!-- --> |
| </a><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.IntToDoubleFunction,R)">collectDouble</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><R extends <a href="collection/primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a>></span> <span class="returnType">R</span> <span class="memberName">collectDouble</span>​(<span class="arguments"><a href="block/function/primitive/IntToDoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToDoubleFunction</a> function, |
| R target)</span></div> |
| <div class="block">Returns the target <code>MutableDoubleCollection</code> with the results of applying the specified function on each element |
| of the source collection.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectIfNone(org.eclipse.collections.api.block.predicate.primitive.IntPredicate,int)">detectIfNone</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">detectIfNone</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate, |
| int ifNone)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="count(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">count</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">count</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</span></div> |
| <div class="block">Returns a count of the number of elements in the IntIterable that return true for the |
| specified predicate.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="anySatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">anySatisfy</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">anySatisfy</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</span></div> |
| <div class="block">Returns true if any of the elements in the IntIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">allSatisfy</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allSatisfy</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</span></div> |
| <div class="block">Returns true if all of the elements in the IntIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.IntPredicate)">noneSatisfy</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">noneSatisfy</span>​(<span class="arguments"><a href="block/predicate/primitive/IntPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntPredicate</a> predicate)</span></div> |
| <div class="block">Returns true if none of the elements in the IntIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toList()">toList</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</a></span> <span class="memberName">toList</span>()</div> |
| <div class="block">Converts the IntIterable to a new MutableIntList.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSet()">toSet</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="set/primitive/MutableIntSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableIntSet</a></span> <span class="memberName">toSet</span>()</div> |
| <div class="block">Converts the IntIterable to a new MutableIntSet.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toBag()">toBag</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="bag/primitive/MutableIntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableIntBag</a></span> <span class="memberName">toBag</span>()</div> |
| <div class="block">Converts the IntIterable to a new MutableIntBag.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asLazy()">asLazy</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="LazyIntIterable.html" title="interface in org.eclipse.collections.api">LazyIntIterable</a></span> <span class="memberName">asLazy</span>()</div> |
| <div class="block">Returns a LazyIntIterable adapter wrapping the source IntIterable.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(java.lang.Object,org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)"> |
| <!-- --> |
| </a><a id="injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">injectInto</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><T></span> <span class="returnType">T</span> <span class="memberName">injectInto</span>​(<span class="arguments">T injectedValue, |
| <a href="block/function/primitive/ObjectIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectIntToObjectFunction</a><? super T,​? extends T> function)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reduceIfEmpty(org.eclipse.collections.api.block.function.primitive.LongIntToLongFunction,long)">reduceIfEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">long</span> <span class="memberName">reduceIfEmpty</span>​(<span class="arguments"><a href="block/function/primitive/LongIntToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToLongFunction</a> accumulator, |
| long defaultValue)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#reduce(org.eclipse.collections.api.block.function.primitive.LongIntToLongFunction)"><code>reduce(LongIntToLongFunction)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reduce(org.eclipse.collections.api.block.function.primitive.LongIntToLongFunction)">reduce</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">long</span> <span class="memberName">reduce</span>​(<span class="arguments"><a href="block/function/primitive/LongIntToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToLongFunction</a> accumulator)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="RichIterable.html#reduce(java.util.function.BinaryOperator)"><code>RichIterable.reduce(BinaryOperator)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="chunk(int)">chunk</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType"><a href="RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a>></span> <span class="memberName">chunk</span>​(<span class="arguments">int size)</span></div> |
| <div class="block">Partitions elements in fixed size chunks.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>size</code> - the number of elements per chunk</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <code>RichIterable</code> containing <code>IntIterable</code>s of size <code>size</code>, except the last will be |
| truncated if the elements don't divide evenly.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.2</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sum()">sum</a></h3> |
| <div class="memberSignature"><span class="returnType">long</span> <span class="memberName">sum</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="summaryStatistics()">summaryStatistics</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/IntSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">IntSummaryStatistics</a></span> <span class="memberName">summaryStatistics</span>()</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>8.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="max()">max</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">max</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxIfEmpty(int)">maxIfEmpty</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">maxIfEmpty</span>​(<span class="arguments">int defaultValue)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="min()">min</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">min</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minIfEmpty(int)">minIfEmpty</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">minIfEmpty</span>​(<span class="arguments">int defaultValue)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="average()">average</a></h3> |
| <div class="memberSignature"><span class="returnType">double</span> <span class="memberName">average</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="averageIfEmpty(double)">averageIfEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">double</span> <span class="memberName">averageIfEmpty</span>​(<span class="arguments">double defaultValue)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="median()">median</a></h3> |
| <div class="memberSignature"><span class="returnType">double</span> <span class="memberName">median</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="medianIfEmpty(double)">medianIfEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">double</span> <span class="memberName">medianIfEmpty</span>​(<span class="arguments">double defaultValue)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedArray()">toSortedArray</a></h3> |
| <div class="memberSignature"><span class="returnType">int[]</span> <span class="memberName">toSortedArray</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedList()">toSortedList</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</a></span> <span class="memberName">toSortedList</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/IntIterable.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> |