| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Sat Aug 08 22:45:01 CDT 2020 --> |
| <title>ByteIterable (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.api, interface: ByteIterable"> |
| <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":6,"i6":18,"i7":6,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":18,"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/ByteIterable.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 ByteIterable" class="title">Interface ByteIterable</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="bag/primitive/ByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">ByteBag</a></code>, <code><a href="map/primitive/ByteByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ByteByteMap</a></code>, <code><a href="list/primitive/ByteList.html" title="interface in org.eclipse.collections.api.list.primitive">ByteList</a></code>, <code><a href="set/primitive/ByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">ByteSet</a></code>, <code><a href="stack/primitive/ByteStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ByteStack</a></code>, <code><a href="map/primitive/ByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">ByteValuesMap</a></code>, <code><a href="map/primitive/CharByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">CharByteMap</a></code>, <code><a href="map/primitive/DoubleByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">DoubleByteMap</a></code>, <code><a href="map/primitive/FloatByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">FloatByteMap</a></code>, <code><a href="bag/primitive/ImmutableByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">ImmutableByteBag</a></code>, <code><a href="map/primitive/ImmutableByteByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableByteByteMap</a></code>, <code><a href="collection/primitive/ImmutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">ImmutableByteCollection</a></code>, <code><a href="list/primitive/ImmutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">ImmutableByteList</a></code>, <code><a href="set/primitive/ImmutableByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">ImmutableByteSet</a></code>, <code><a href="stack/primitive/ImmutableByteStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ImmutableByteStack</a></code>, <code><a href="map/primitive/ImmutableCharByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableCharByteMap</a></code>, <code><a href="map/primitive/ImmutableDoubleByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableDoubleByteMap</a></code>, <code><a href="map/primitive/ImmutableFloatByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableFloatByteMap</a></code>, <code><a href="map/primitive/ImmutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableIntByteMap</a></code>, <code><a href="map/primitive/ImmutableLongByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableLongByteMap</a></code>, <code><a href="map/primitive/ImmutableObjectByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableObjectByteMap</a><K></code>, <code><a href="map/primitive/ImmutableShortByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ImmutableShortByteMap</a></code>, <code><a href="map/primitive/IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a></code>, <code><a href="LazyByteIterable.html" title="interface in org.eclipse.collections.api">LazyByteIterable</a></code>, <code><a href="map/primitive/LongByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">LongByteMap</a></code>, <code><a href="bag/primitive/MutableByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableByteBag</a></code>, <code><a href="map/primitive/MutableByteByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteByteMap</a></code>, <code><a href="collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a></code>, <code><a href="list/primitive/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</a></code>, <code><a href="set/primitive/MutableByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableByteSet</a></code>, <code><a href="stack/primitive/MutableByteStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableByteStack</a></code>, <code><a href="map/primitive/MutableByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteValuesMap</a></code>, <code><a href="map/primitive/MutableCharByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableCharByteMap</a></code>, <code><a href="map/primitive/MutableDoubleByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableDoubleByteMap</a></code>, <code><a href="map/primitive/MutableFloatByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableFloatByteMap</a></code>, <code><a href="map/primitive/MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code>, <code><a href="map/primitive/MutableLongByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableLongByteMap</a></code>, <code><a href="map/primitive/MutableObjectByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectByteMap</a><K></code>, <code><a href="map/primitive/MutableShortByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableShortByteMap</a></code>, <code><a href="map/primitive/ObjectByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ObjectByteMap</a><K></code>, <code><a href="ordered/primitive/OrderedByteIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedByteIterable</a></code>, <code><a href="ordered/primitive/ReversibleByteIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">ReversibleByteIterable</a></code>, <code><a href="map/primitive/ShortByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">ShortByteMap</a></code></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="../impl/primitive/AbstractByteIterable.html" title="class in org.eclipse.collections.impl.primitive">AbstractByteIterable</a></code>, <code><a href="../impl/set/primitive/AbstractByteSet.html" title="class in org.eclipse.collections.impl.set.primitive">AbstractByteSet</a></code>, <code><a href="../impl/stack/primitive/AbstractByteStack.html" title="class in org.eclipse.collections.impl.stack.primitive">AbstractByteStack</a></code>, <code><a href="../impl/set/immutable/primitive/AbstractImmutableByteSet.html" title="class in org.eclipse.collections.impl.set.immutable.primitive">AbstractImmutableByteSet</a></code>, <code><a href="../impl/map/immutable/primitive/AbstractImmutableObjectByteMap.html" title="class in org.eclipse.collections.impl.map.immutable.primitive">AbstractImmutableObjectByteMap</a></code>, <code><a href="../impl/lazy/primitive/AbstractLazyByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">AbstractLazyByteIterable</a></code>, <code><a href="../impl/map/mutable/primitive/AbstractMutableByteKeySet.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">AbstractMutableByteKeySet</a></code>, <code><a href="../impl/map/mutable/primitive/AbstractMutableByteValuesMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">AbstractMutableByteValuesMap</a></code>, <code><a href="../impl/collection/mutable/primitive/AbstractSynchronizedByteCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">AbstractSynchronizedByteCollection</a></code>, <code><a href="../impl/collection/mutable/primitive/AbstractUnmodifiableByteCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">AbstractUnmodifiableByteCollection</a></code>, <code><a href="../impl/list/mutable/primitive/ByteArrayList.html" title="class in org.eclipse.collections.impl.list.mutable.primitive">ByteArrayList</a></code>, <code><a href="../impl/stack/mutable/primitive/ByteArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ByteArrayStack</a></code>, <code><a href="../impl/map/mutable/primitive/ByteByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ByteByteHashMap</a></code>, <code><a href="../impl/bag/mutable/primitive/ByteHashBag.html" title="class in org.eclipse.collections.impl.bag.mutable.primitive">ByteHashBag</a></code>, <code><a href="../impl/set/mutable/primitive/ByteHashSet.html" title="class in org.eclipse.collections.impl.set.mutable.primitive">ByteHashSet</a></code>, <code><a href="../impl/map/mutable/primitive/CharByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">CharByteHashMap</a></code>, <code><a href="../impl/lazy/primitive/CollectBooleanToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectBooleanToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectByteToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectByteToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectCharToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectCharToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectDoubleToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectDoubleToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectFloatToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectFloatToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectIntToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectIntToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectLongToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectLongToByteIterable</a></code>, <code><a href="../impl/lazy/primitive/CollectShortToByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">CollectShortToByteIterable</a></code>, <code><a href="../impl/map/mutable/primitive/DoubleByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">DoubleByteHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/FloatByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">FloatByteHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/IntByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">IntByteHashMap</a></code>, <code><a href="../impl/lazy/primitive/LazyByteIterableAdapter.html" title="class in org.eclipse.collections.impl.lazy.primitive">LazyByteIterableAdapter</a></code>, <code><a href="../impl/map/mutable/primitive/LongByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">LongByteHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/ObjectByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ObjectByteHashMap</a></code>, <code><a href="../impl/map/mutable/primitive/ObjectByteHashMapWithHashingStrategy.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ObjectByteHashMapWithHashingStrategy</a></code>, <code><a href="../impl/lazy/primitive/ReverseByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">ReverseByteIterable</a></code>, <code><a href="../impl/lazy/primitive/SelectByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">SelectByteIterable</a></code>, <code><a href="../impl/map/mutable/primitive/ShortByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">ShortByteHashMap</a></code>, <code><a href="../impl/bag/mutable/primitive/SynchronizedByteBag.html" title="class in org.eclipse.collections.impl.bag.mutable.primitive">SynchronizedByteBag</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedByteByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedByteByteMap</a></code>, <code><a href="../impl/collection/mutable/primitive/SynchronizedByteCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">SynchronizedByteCollection</a></code>, <code><a href="../impl/primitive/SynchronizedByteIterable.html" title="class in org.eclipse.collections.impl.primitive">SynchronizedByteIterable</a></code>, <code><a href="../impl/list/mutable/primitive/SynchronizedByteList.html" title="class in org.eclipse.collections.impl.list.mutable.primitive">SynchronizedByteList</a></code>, <code><a href="../impl/set/mutable/primitive/SynchronizedByteSet.html" title="class in org.eclipse.collections.impl.set.mutable.primitive">SynchronizedByteSet</a></code>, <code><a href="../impl/stack/mutable/primitive/SynchronizedByteStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">SynchronizedByteStack</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedCharByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedCharByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedDoubleByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedDoubleByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedFloatByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedFloatByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedIntByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedIntByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedLongByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedLongByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedObjectByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedObjectByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/SynchronizedShortByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedShortByteMap</a></code>, <code><a href="../impl/lazy/primitive/TapByteIterable.html" title="class in org.eclipse.collections.impl.lazy.primitive">TapByteIterable</a></code>, <code><a href="../impl/bag/mutable/primitive/UnmodifiableByteBag.html" title="class in org.eclipse.collections.impl.bag.mutable.primitive">UnmodifiableByteBag</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableByteByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableByteByteMap</a></code>, <code><a href="../impl/collection/mutable/primitive/UnmodifiableByteCollection.html" title="class in org.eclipse.collections.impl.collection.mutable.primitive">UnmodifiableByteCollection</a></code>, <code><a href="../impl/list/mutable/primitive/UnmodifiableByteList.html" title="class in org.eclipse.collections.impl.list.mutable.primitive">UnmodifiableByteList</a></code>, <code><a href="../impl/set/mutable/primitive/UnmodifiableByteSet.html" title="class in org.eclipse.collections.impl.set.mutable.primitive">UnmodifiableByteSet</a></code>, <code><a href="../impl/stack/mutable/primitive/UnmodifiableByteStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">UnmodifiableByteStack</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableCharByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableCharByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableDoubleByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableDoubleByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableFloatByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableFloatByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableIntByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableIntByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableLongByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableLongByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableObjectByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableObjectByteMap</a></code>, <code><a href="../impl/map/mutable/primitive/UnmodifiableShortByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableShortByteMap</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">ByteIterable</span> |
| extends <a href="PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></pre> |
| <div class="block">ByteIterable is an interface which is memory-optimized for byte 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 ByteIterator. ByteIterator helps iterate over the ByteIterable 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.BytePredicate)">allSatisfy</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all of the elements in the ByteIterable 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.BytePredicate)">anySatisfy</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if any of the elements in the ByteIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code><a href="LazyByteIterable.html" title="interface in org.eclipse.collections.api">LazyByteIterable</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 LazyByteIterable adapter wrapping the source ByteIterable.</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><a href="iterator/ByteIterator.html" title="interface in org.eclipse.collections.api.iterator">ByteIterator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#byteIterator()">byteIterator</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a primitive iterator that can be used to iterate over the ByteIterable in an |
| imperative style.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code>default <a href="RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</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="rowColor" id="i7"> |
| <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.ByteToObjectFunction)">collect</a></span>​(<a href="block/function/primitive/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToObjectFunction</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="altColor" id="i8"> |
| <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.ByteToObjectFunction,R)">collect</a></span>​(<a href="block/function/primitive/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToObjectFunction</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.ByteToObjectFunction)"><code>collect(ByteToObjectFunction)</code></a> , only the results are added to the target Collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <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.ByteToBooleanFunction,R)">collectBoolean</a></span>​(<a href="block/function/primitive/ByteToBooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToBooleanFunction</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="altColor" id="i10"> |
| <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.ByteToByteFunction,R)">collectByte</a></span>​(<a href="block/function/primitive/ByteToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToByteFunction</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="rowColor" id="i11"> |
| <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.ByteToCharFunction,R)">collectChar</a></span>​(<a href="block/function/primitive/ByteToCharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToCharFunction</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="altColor" id="i12"> |
| <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.ByteToDoubleFunction,R)">collectDouble</a></span>​(<a href="block/function/primitive/ByteToDoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToDoubleFunction</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="rowColor" id="i13"> |
| <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.ByteToFloatFunction,R)">collectFloat</a></span>​(<a href="block/function/primitive/ByteToFloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToFloatFunction</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="altColor" id="i14"> |
| <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.ByteToIntFunction,R)">collectInt</a></span>​(<a href="block/function/primitive/ByteToIntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToIntFunction</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="rowColor" id="i15"> |
| <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.ByteToLongFunction,R)">collectLong</a></span>​(<a href="block/function/primitive/ByteToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToLongFunction</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="altColor" id="i16"> |
| <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.ByteToShortFunction,R)">collectShort</a></span>​(<a href="block/function/primitive/ByteToShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToShortFunction</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="rowColor" id="i17"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(byte)">contains</a></span>​(byte value)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the value is contained in the ByteIterable, and false if it is 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(byte...)">containsAll</a></span>​(byte... 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 ByteIterable, and false if they are not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(org.eclipse.collections.api.ByteIterable)">containsAll</a></span>​(<a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a> source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the all of the values specified in the source ByteIterable are contained |
| in the ByteIterable, and false if they are not.</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="#count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">count</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a count of the number of elements in the ByteIterable that return true for the |
| specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,byte)">detectIfNone</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate, |
| byte ifNone)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <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.ByteProcedure)">each</a></span>​(<a href="block/procedure/primitive/ByteProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ByteProcedure</a> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">A synonym for forEach.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <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.ByteToObjectFunction,R)">flatCollect</a></span>​(<a href="block/function/primitive/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToObjectFunction</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.ByteToObjectFunction)"><code>collect(ByteToObjectFunction)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <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.ByteProcedure)">forEach</a></span>​(<a href="block/procedure/primitive/ByteProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ByteProcedure</a> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies the ByteProcedure to each element in the ByteIterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <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.ObjectByteToObjectFunction)">injectInto</a></span>​(T injectedValue, |
| <a href="block/function/primitive/ObjectByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectByteToObjectFunction</a><? super T,​? extends T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code>byte</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>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxIfEmpty(byte)">maxIfEmpty</a></span>​(byte 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>byte</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>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minIfEmpty(byte)">minIfEmpty</a></span>​(byte 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.BytePredicate)">noneSatisfy</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if none of the elements in the ByteIterable 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.LongByteToLongFunction)">reduce</a></span>​(<a href="block/function/primitive/LongByteToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongByteToLongFunction</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.LongByteToLongFunction,long)">reduceIfEmpty</a></span>​(<a href="block/function/primitive/LongByteToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongByteToLongFunction</a> accumulator, |
| long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code><a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">reject</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new ByteIterable with all of the elements in the ByteIterable 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/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="#reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,R)">reject</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)"><code>reject(BytePredicate)</code></a> , only the results are added to the target MutableByteCollection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i37"> |
| <td class="colFirst"><code><a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">select</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new ByteIterable with all of the elements in the ByteIterable 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/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="#select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,R)">select</a></span>​(<a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="#select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)"><code>select(BytePredicate)</code></a> , only the results are added to the target MutableByteCollection.</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="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tap(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure)">tap</a></span>​(<a href="block/procedure/primitive/ByteProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ByteProcedure</a> procedure)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code>byte[]</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 ByteIterable to a primitive byte array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code>default byte[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray(byte%5B%5D)">toArray</a></span>​(byte[] target)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the ByteIterable to a primitive byte array.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code><a href="bag/primitive/MutableByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableByteBag</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 ByteIterable to a new MutableByteBag.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <td class="colFirst"><code><a href="list/primitive/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</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 ByteIterable to a new MutableByteList.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code><a href="set/primitive/MutableByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableByteSet</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 ByteIterable to a new MutableByteSet.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code>byte[]</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/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</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="byteIterator()">byteIterator</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="iterator/ByteIterator.html" title="interface in org.eclipse.collections.api.iterator">ByteIterator</a></span> <span class="memberName">byteIterator</span>()</div> |
| <div class="block">Returns a primitive iterator that can be used to iterate over the ByteIterable 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">byte[]</span> <span class="memberName">toArray</span>()</div> |
| <div class="block">Converts the ByteIterable to a primitive byte array.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray(byte[])">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">byte[]</span> <span class="memberName">toArray</span>​(<span class="arguments">byte[] target)</span></div> |
| <div class="block">Converts the ByteIterable to a primitive byte 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(byte)">contains</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">contains</span>​(<span class="arguments">byte value)</span></div> |
| <div class="block">Returns true if the value is contained in the ByteIterable, and false if it is not.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(byte...)">containsAll</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments">byte... source)</span></div> |
| <div class="block">Returns true if the all of the values specified in the source array are contained |
| in the ByteIterable, and false if they are not.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(org.eclipse.collections.api.ByteIterable)">containsAll</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments"><a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a> source)</span></div> |
| <div class="block">Returns true if the all of the values specified in the source ByteIterable are contained |
| in the ByteIterable, 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.ByteProcedure)">forEach</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">forEach</span>​(<span class="arguments"><a href="block/procedure/primitive/ByteProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ByteProcedure</a> procedure)</span></div> |
| <div class="block">Applies the ByteProcedure to each element in the ByteIterable.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure)">each</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">each</span>​(<span class="arguments"><a href="block/procedure/primitive/ByteProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ByteProcedure</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.ByteProcedure)">tap</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType"><a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></span> <span class="memberName">tap</span>​(<span class="arguments"><a href="block/procedure/primitive/ByteProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ByteProcedure</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.BytePredicate)">select</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></span> <span class="memberName">select</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</span></div> |
| <div class="block">Returns a new ByteIterable with all of the elements in the ByteIterable 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.BytePredicate)">reject</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</span></div> |
| <div class="block">Returns a new ByteIterable with all of the elements in the ByteIterable 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.BytePredicate,org.eclipse.collections.api.collection.primitive.MutableByteCollection)"> |
| <!-- --> |
| </a><a id="select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,R)">select</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">select</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate, |
| R target)</span></div> |
| <div class="block">Same as <a href="#select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)"><code>select(BytePredicate)</code></a> , only the results are added to the target MutableByteCollection.</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.BytePredicate,org.eclipse.collections.api.collection.primitive.MutableByteCollection)"> |
| <!-- --> |
| </a><a id="reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,R)">reject</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">reject</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate, |
| R target)</span></div> |
| <div class="block">Same as <a href="#reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)"><code>reject(BytePredicate)</code></a> , only the results are added to the target MutableByteCollection.</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.ByteToObjectFunction)">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/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToObjectFunction</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.ByteToObjectFunction,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction,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/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToObjectFunction</a><? extends V> function, |
| R target)</span></div> |
| <div class="block">Same as <a href="#collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction)"><code>collect(ByteToObjectFunction)</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.ByteToObjectFunction,java.util.Collection)"> |
| <!-- --> |
| </a><a id="flatCollect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction,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/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToObjectFunction</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.ByteToObjectFunction)"><code>collect(ByteToObjectFunction)</code></a>. With <code>collect</code>, when the <a href="block/function/primitive/ByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>ByteToObjectFunction</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.ByteToBooleanFunction,org.eclipse.collections.api.collection.primitive.MutableBooleanCollection)"> |
| <!-- --> |
| </a><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.ByteToBooleanFunction,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/ByteToBooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToBooleanFunction</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.ByteToByteFunction,org.eclipse.collections.api.collection.primitive.MutableByteCollection)"> |
| <!-- --> |
| </a><a id="collectByte(org.eclipse.collections.api.block.function.primitive.ByteToByteFunction,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/ByteToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToByteFunction</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.ByteToCharFunction,org.eclipse.collections.api.collection.primitive.MutableCharCollection)"> |
| <!-- --> |
| </a><a id="collectChar(org.eclipse.collections.api.block.function.primitive.ByteToCharFunction,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/ByteToCharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToCharFunction</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.ByteToShortFunction,org.eclipse.collections.api.collection.primitive.MutableShortCollection)"> |
| <!-- --> |
| </a><a id="collectShort(org.eclipse.collections.api.block.function.primitive.ByteToShortFunction,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/ByteToShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToShortFunction</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.ByteToIntFunction,org.eclipse.collections.api.collection.primitive.MutableIntCollection)"> |
| <!-- --> |
| </a><a id="collectInt(org.eclipse.collections.api.block.function.primitive.ByteToIntFunction,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/ByteToIntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToIntFunction</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.ByteToFloatFunction,org.eclipse.collections.api.collection.primitive.MutableFloatCollection)"> |
| <!-- --> |
| </a><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.ByteToFloatFunction,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/ByteToFloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToFloatFunction</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.ByteToLongFunction,org.eclipse.collections.api.collection.primitive.MutableLongCollection)"> |
| <!-- --> |
| </a><a id="collectLong(org.eclipse.collections.api.block.function.primitive.ByteToLongFunction,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/ByteToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToLongFunction</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.ByteToDoubleFunction,org.eclipse.collections.api.collection.primitive.MutableDoubleCollection)"> |
| <!-- --> |
| </a><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.ByteToDoubleFunction,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/ByteToDoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToDoubleFunction</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.BytePredicate,byte)">detectIfNone</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">detectIfNone</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate, |
| byte ifNone)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">count</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">count</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</span></div> |
| <div class="block">Returns a count of the number of elements in the ByteIterable 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.BytePredicate)">anySatisfy</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">anySatisfy</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</span></div> |
| <div class="block">Returns true if any of the elements in the ByteIterable 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.BytePredicate)">allSatisfy</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allSatisfy</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</span></div> |
| <div class="block">Returns true if all of the elements in the ByteIterable 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.BytePredicate)">noneSatisfy</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">noneSatisfy</span>​(<span class="arguments"><a href="block/predicate/primitive/BytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">BytePredicate</a> predicate)</span></div> |
| <div class="block">Returns true if none of the elements in the ByteIterable 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/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</a></span> <span class="memberName">toList</span>()</div> |
| <div class="block">Converts the ByteIterable to a new MutableByteList.</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/MutableByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableByteSet</a></span> <span class="memberName">toSet</span>()</div> |
| <div class="block">Converts the ByteIterable to a new MutableByteSet.</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/MutableByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableByteBag</a></span> <span class="memberName">toBag</span>()</div> |
| <div class="block">Converts the ByteIterable to a new MutableByteBag.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asLazy()">asLazy</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="LazyByteIterable.html" title="interface in org.eclipse.collections.api">LazyByteIterable</a></span> <span class="memberName">asLazy</span>()</div> |
| <div class="block">Returns a LazyByteIterable adapter wrapping the source ByteIterable.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(java.lang.Object,org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction)"> |
| <!-- --> |
| </a><a id="injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction)">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/ObjectByteToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectByteToObjectFunction</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.LongByteToLongFunction,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/LongByteToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongByteToLongFunction</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.LongByteToLongFunction)"><code>reduce(LongByteToLongFunction)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reduce(org.eclipse.collections.api.block.function.primitive.LongByteToLongFunction)">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/LongByteToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongByteToLongFunction</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="ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</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>ByteIterable</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">byte</span> <span class="memberName">max</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxIfEmpty(byte)">maxIfEmpty</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">maxIfEmpty</span>​(<span class="arguments">byte defaultValue)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="min()">min</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">min</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minIfEmpty(byte)">minIfEmpty</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">minIfEmpty</span>​(<span class="arguments">byte 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">byte[]</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/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</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/ByteIterable.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> |