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
public class LazyByteIterableAdapter extends AbstractLazyByteIterable
This file was automatically generated from template file lazyPrimitiveIterableAdapter.stg.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description LazyByteIterableAdapter(ByteIterable delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(BytePredicate predicate)booleananySatisfy(BytePredicate predicate)voidappendString(Appendable appendable)voidappendString(Appendable appendable, String separator)voidappendString(Appendable appendable, String start, String separator, String end)doubleaverage()ByteIteratorbyteIterator()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()StringmakeString()StringmakeString(String separator)StringmakeString(String start, String separator, String end)bytemax()bytemaxIfEmpty(byte defaultValue)doublemedian()bytemin()byteminIfEmpty(byte defaultValue)booleannoneSatisfy(BytePredicate predicate)booleannotEmpty()intsize()longsum()byte[]toArray()MutableByteBagtoBag()MutableByteListtoList()MutableByteSettoSet()byte[]toSortedArray()MutableByteListtoSortedList()StringtoString()-
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, tap
-
Methods inherited from class java.lang.Object
equals, 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
-
-
-
-
Constructor Detail
-
LazyByteIterableAdapter
public LazyByteIterableAdapter(ByteIterable delegate)
-
-
Method Detail
-
byteIterator
public ByteIterator byteIterator()
-
each
public void each(ByteProcedure procedure)
- 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
public int count(BytePredicate predicate)
- Specified by:
countin interfaceByteIterable- Overrides:
countin classAbstractLazyByteIterable
-
anySatisfy
public boolean anySatisfy(BytePredicate predicate)
- Specified by:
anySatisfyin interfaceByteIterable- Overrides:
anySatisfyin classAbstractLazyByteIterable
-
allSatisfy
public boolean allSatisfy(BytePredicate predicate)
- Specified by:
allSatisfyin interfaceByteIterable- Overrides:
allSatisfyin classAbstractLazyByteIterable
-
noneSatisfy
public boolean noneSatisfy(BytePredicate predicate)
- Specified by:
noneSatisfyin interfaceByteIterable- Overrides:
noneSatisfyin classAbstractLazyByteIterable
-
detectIfNone
public byte detectIfNone(BytePredicate predicate, byte ifNone)
- 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
public MutableByteList toSortedList()
- Specified by:
toSortedListin interfaceByteIterable- Overrides:
toSortedListin classAbstractLazyByteIterable
-
toArray
public byte[] toArray()
- Specified by:
toArrayin interfaceByteIterable- Overrides:
toArrayin classAbstractLazyByteIterable
-
toString
public String toString()
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classAbstractLazyByteIterable
-
makeString
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable- Overrides:
makeStringin classAbstractLazyByteIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable- Overrides:
makeStringin classAbstractLazyByteIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable- Overrides:
makeStringin classAbstractLazyByteIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable- Overrides:
appendStringin classAbstractLazyByteIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable- Overrides:
appendStringin classAbstractLazyByteIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- 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
public boolean containsAll(ByteIterable source)
- Specified by:
containsAllin interfaceByteIterable- Overrides:
containsAllin classAbstractLazyByteIterable
-
toList
public MutableByteList toList()
- Specified by:
toListin interfaceByteIterable- Overrides:
toListin classAbstractLazyByteIterable
-
toSet
public MutableByteSet toSet()
- Specified by:
toSetin interfaceByteIterable- Overrides:
toSetin classAbstractLazyByteIterable
-
toBag
public MutableByteBag 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
-
-