Class TapByteIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapByteIterable
-
- All Implemented Interfaces:
ByteIterable
,LazyByteIterable
,PrimitiveIterable
public class TapByteIterable extends AbstractLazyByteIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TapByteIterable.TapByteIterator
-
Field Summary
Fields Modifier and Type Field Description private ByteIterable
adapted
private ByteProcedure
procedure
-
Constructor Summary
Constructors Constructor Description TapByteIterable(ByteIterable delegate, ByteProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(BytePredicate predicate)
Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.boolean
anySatisfy(BytePredicate predicate)
Returns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.ByteIterator
byteIterator()
Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style.byte
detectIfNone(BytePredicate predicate, byte ifNone)
void
each(ByteProcedure procedure)
A synonym for forEach.boolean
noneSatisfy(BytePredicate predicate)
Returns true if none of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.-
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, containsAll, containsAll, count, flatCollect, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.ByteIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Field Detail
-
adapted
private final ByteIterable adapted
-
procedure
private final ByteProcedure procedure
-
-
Constructor Detail
-
TapByteIterable
public TapByteIterable(ByteIterable delegate, ByteProcedure procedure)
-
-
Method Detail
-
each
public void each(ByteProcedure procedure)
Description copied from interface:ByteIterable
A synonym for forEach.
-
anySatisfy
public boolean anySatisfy(BytePredicate predicate)
Description copied from interface:ByteIterable
Returns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfy
in interfaceByteIterable
- Overrides:
anySatisfy
in classAbstractLazyByteIterable
-
allSatisfy
public boolean allSatisfy(BytePredicate predicate)
Description copied from interface:ByteIterable
Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfy
in interfaceByteIterable
- Overrides:
allSatisfy
in classAbstractLazyByteIterable
-
noneSatisfy
public boolean noneSatisfy(BytePredicate predicate)
Description copied from interface:ByteIterable
Returns true if none of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfy
in interfaceByteIterable
- Overrides:
noneSatisfy
in classAbstractLazyByteIterable
-
detectIfNone
public byte detectIfNone(BytePredicate predicate, byte ifNone)
- Specified by:
detectIfNone
in interfaceByteIterable
- Overrides:
detectIfNone
in classAbstractLazyByteIterable
-
byteIterator
public ByteIterator byteIterator()
Description copied from interface:ByteIterable
Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style.
-
-