Class LazyByteIterableAdapter
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
org.eclipse.collections.impl.lazy.primitive.LazyByteIterableAdapter
- All Implemented Interfaces:
ByteIterable,LazyByteIterable,PrimitiveIterable
This file was automatically generated from template file lazyPrimitiveIterableAdapter.stg.
- Since:
- 3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BytePredicate predicate) booleananySatisfy(BytePredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) doubleaverage()booleancontains(byte value) booleancontainsAll(byte... source) booleancontainsAll(ByteIterable source) intcount(BytePredicate predicate) bytedetectIfNone(BytePredicate predicate, byte ifNone) voideach(ByteProcedure procedure) <T> TinjectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) bytemax()bytemaxIfEmpty(byte defaultValue) doublemedian()bytemin()byteminIfEmpty(byte defaultValue) booleannoneSatisfy(BytePredicate predicate) booleannotEmpty()intsize()longsum()byte[]toArray()toBag()toList()toSet()byte[]toString()Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, tapMethods 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, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
LazyByteIterableAdapter
-
-
Method Details
-
byteIterator
-
each
- Since:
- 7.0.
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyByteIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyByteIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyByteIterable
-
count
- Specified by:
countin interfaceByteIterable- Overrides:
countin classAbstractLazyByteIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceByteIterable- Overrides:
anySatisfyin classAbstractLazyByteIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceByteIterable- Overrides:
allSatisfyin classAbstractLazyByteIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceByteIterable- Overrides:
noneSatisfyin classAbstractLazyByteIterable
-
detectIfNone
- Specified by:
detectIfNonein interfaceByteIterable- Overrides:
detectIfNonein classAbstractLazyByteIterable
-
sum
public long sum()- Specified by:
sumin interfaceByteIterable- Overrides:
sumin classAbstractLazyByteIterable
-
max
public byte max()- Specified by:
maxin interfaceByteIterable- Overrides:
maxin classAbstractLazyByteIterable
-
min
public byte min()- Specified by:
minin interfaceByteIterable- Overrides:
minin classAbstractLazyByteIterable
-
minIfEmpty
public byte minIfEmpty(byte defaultValue) - Specified by:
minIfEmptyin interfaceByteIterable- Overrides:
minIfEmptyin classAbstractLazyByteIterable
-
maxIfEmpty
public byte maxIfEmpty(byte defaultValue) - Specified by:
maxIfEmptyin interfaceByteIterable- Overrides:
maxIfEmptyin classAbstractLazyByteIterable
-
average
public double average()- Specified by:
averagein interfaceByteIterable- Overrides:
averagein classAbstractLazyByteIterable
-
median
public double median()- Specified by:
medianin interfaceByteIterable- Overrides:
medianin classAbstractLazyByteIterable
-
toSortedArray
public byte[] toSortedArray()- Specified by:
toSortedArrayin interfaceByteIterable- Overrides:
toSortedArrayin classAbstractLazyByteIterable
-
toSortedList
- Specified by:
toSortedListin interfaceByteIterable- Overrides:
toSortedListin classAbstractLazyByteIterable
-
toArray
public byte[] toArray()- Specified by:
toArrayin interfaceByteIterable- Overrides:
toArrayin classAbstractLazyByteIterable
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classAbstractLazyByteIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable- Overrides:
makeStringin classAbstractLazyByteIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable- Overrides:
makeStringin classAbstractLazyByteIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable- Overrides:
makeStringin classAbstractLazyByteIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable- Overrides:
appendStringin classAbstractLazyByteIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable- Overrides:
appendStringin classAbstractLazyByteIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable- Overrides:
appendStringin classAbstractLazyByteIterable
-
contains
public boolean contains(byte value) - Specified by:
containsin interfaceByteIterable- Overrides:
containsin classAbstractLazyByteIterable
-
containsAll
public boolean containsAll(byte... source) - Specified by:
containsAllin interfaceByteIterable- Overrides:
containsAllin classAbstractLazyByteIterable
-
containsAll
- Specified by:
containsAllin interfaceByteIterable- Overrides:
containsAllin classAbstractLazyByteIterable
-
toList
- Specified by:
toListin interfaceByteIterable- Overrides:
toListin classAbstractLazyByteIterable
-
toSet
- Specified by:
toSetin interfaceByteIterable- Overrides:
toSetin classAbstractLazyByteIterable
-
toBag
- Specified by:
toBagin interfaceByteIterable- Overrides:
toBagin classAbstractLazyByteIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceByteIterable- Overrides:
injectIntoin classAbstractLazyByteIterable
-