Class SelectByteIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
org.eclipse.collections.impl.lazy.primitive.SelectByteIterable
- All Implemented Interfaces:
ByteIterable,LazyByteIterable,PrimitiveIterable
This file was automatically generated from template file selectPrimitiveIterable.stg.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BytePredicate predicate) Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(BytePredicate predicate) Returns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style.booleancontainsAll(byte... source) Returns true if all of the values specified in the source array are contained in the ByteIterable, and false if they are not.booleancontainsAll(ByteIterable source) Returns true if all of the values specified in the source ByteIterable are contained in the ByteIterable, and false if they are not.intcount(BytePredicate predicate) Returns a count of the number of elements in the ByteIterable that return true for the specified predicate.voideach(ByteProcedure procedure) A synonym for forEach.booleanisEmpty()Returns true if this iterable has zero items.booleannoneSatisfy(BytePredicate predicate) Returns true if none of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.byte[]toArray()Converts the ByteIterable to a primitive byte array.toBag()Converts the ByteIterable to a new MutableByteBag.toList()Converts the ByteIterable to a new MutableByteList.toSet()Converts the ByteIterable to a new MutableByteSet.Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, tap, toSortedArray, toSortedList, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.ByteIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
SelectByteIterable
-
-
Method Details
-
byteIterator
Description copied from interface:ByteIterableReturns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style. -
each
Description copied from interface:ByteIterableA synonym for forEach.- Since:
- 7.0.
-
size
public int size()Description copied from interface:PrimitiveIterableReturns the number of items in this iterable.- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyByteIterable
-
isEmpty
public boolean isEmpty()Description copied from interface:PrimitiveIterableReturns true if this iterable has zero items.- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyByteIterable
-
notEmpty
public boolean notEmpty()Description copied from interface:PrimitiveIterableThe English equivalent of !this.isEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyByteIterable
-
count
Description copied from interface:ByteIterableReturns a count of the number of elements in the ByteIterable that return true for the specified predicate.- Specified by:
countin interfaceByteIterable- Overrides:
countin classAbstractLazyByteIterable
-
anySatisfy
Description copied from interface:ByteIterableReturns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceByteIterable- Overrides:
anySatisfyin classAbstractLazyByteIterable
-
allSatisfy
Description copied from interface:ByteIterableReturns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceByteIterable- Overrides:
allSatisfyin classAbstractLazyByteIterable
-
noneSatisfy
Description copied from interface:ByteIterableReturns true if none of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceByteIterable- Overrides:
noneSatisfyin classAbstractLazyByteIterable
-
toArray
public byte[] toArray()Description copied from interface:ByteIterableConverts the ByteIterable to a primitive byte array.- Specified by:
toArrayin interfaceByteIterable- Overrides:
toArrayin classAbstractLazyByteIterable
-
containsAll
public boolean containsAll(byte... source) Description copied from interface:ByteIterableReturns true if all of the values specified in the source array are contained in the ByteIterable, and false if they are not.- Specified by:
containsAllin interfaceByteIterable- Overrides:
containsAllin classAbstractLazyByteIterable
-
containsAll
Description copied from interface:ByteIterableReturns true if all of the values specified in the source ByteIterable are contained in the ByteIterable, and false if they are not.- Specified by:
containsAllin interfaceByteIterable- Overrides:
containsAllin classAbstractLazyByteIterable
-
toList
Description copied from interface:ByteIterableConverts the ByteIterable to a new MutableByteList.- Specified by:
toListin interfaceByteIterable- Overrides:
toListin classAbstractLazyByteIterable
-
toSet
Description copied from interface:ByteIterableConverts the ByteIterable to a new MutableByteSet.- Specified by:
toSetin interfaceByteIterable- Overrides:
toSetin classAbstractLazyByteIterable
-
toBag
Description copied from interface:ByteIterableConverts the ByteIterable to a new MutableByteBag.- Specified by:
toBagin interfaceByteIterable- Overrides:
toBagin classAbstractLazyByteIterable
-