Class AbstractLazyByteIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
- All Implemented Interfaces:
ByteIterable,LazyByteIterable,PrimitiveIterable
- Direct Known Subclasses:
CollectBooleanToByteIterable,CollectByteIterable,CollectByteToByteIterable,CollectCharToByteIterable,CollectDoubleToByteIterable,CollectFloatToByteIterable,CollectIntToByteIterable,CollectLongToByteIterable,CollectShortToByteIterable,LazyByteIterableAdapter,ReverseByteIterable,SelectByteIterable,TapByteIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
- Since:
- 5.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) asLazy()doubleaverage()chunk(int size) <V> LazyIterable<V>collect(ByteToObjectFunction<? extends V> function) collectBoolean(ByteToBooleanFunction function) collectByte(ByteToByteFunction function) collectChar(ByteToCharFunction function) collectDouble(ByteToDoubleFunction function) collectFloat(ByteToFloatFunction function) collectInt(ByteToIntFunction function) collectLong(ByteToLongFunction function) collectShort(ByteToShortFunction function) booleancontains(byte value) booleancontainsAll(byte... source) booleancontainsAll(ByteIterable source) intcount(BytePredicate predicate) bytedetectIfNone(BytePredicate predicate, byte ifNone) <V> LazyIterable<V>flatCollect(ByteToObjectFunction<? extends Iterable<V>> function) <T> TinjectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) bytemax()bytemaxIfEmpty(byte ifEmpty) doublemedian()bytemin()byteminIfEmpty(byte ifEmpty) booleannoneSatisfy(BytePredicate predicate) booleannotEmpty()reject(BytePredicate predicate) select(BytePredicate predicate) intsize()longsum()tap(ByteProcedure procedure) byte[]toArray()toBag()toList()toSet()byte[]toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.ByteIterable
averageIfEmpty, byteIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, each, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
AbstractLazyByteIterable
public AbstractLazyByteIterable()
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
contains
public boolean contains(byte value) - Specified by:
containsin interfaceByteIterable
-
containsAll
public boolean containsAll(byte... source) - Specified by:
containsAllin interfaceByteIterable
-
containsAll
- Specified by:
containsAllin interfaceByteIterable
-
select
- Specified by:
selectin interfaceByteIterable- Specified by:
selectin interfaceLazyByteIterable
-
reject
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceLazyByteIterable
-
tap
- Specified by:
tapin interfaceByteIterable- Specified by:
tapin interfaceLazyByteIterable
-
collect
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceLazyByteIterable
-
flatCollect
- Specified by:
flatCollectin interfaceLazyByteIterable
-
collectBoolean
- Specified by:
collectBooleanin interfaceLazyByteIterable- Since:
- 7.0
-
collectByte
- Specified by:
collectBytein interfaceLazyByteIterable- Since:
- 7.0
-
collectChar
- Specified by:
collectCharin interfaceLazyByteIterable- Since:
- 7.0
-
collectShort
- Specified by:
collectShortin interfaceLazyByteIterable- Since:
- 7.0
-
collectInt
- Specified by:
collectIntin interfaceLazyByteIterable- Since:
- 7.0
-
collectFloat
- Specified by:
collectFloatin interfaceLazyByteIterable- Since:
- 7.0
-
collectLong
- Specified by:
collectLongin interfaceLazyByteIterable- Since:
- 7.0
-
collectDouble
- Specified by:
collectDoublein interfaceLazyByteIterable- Since:
- 7.0
-
detectIfNone
- Specified by:
detectIfNonein interfaceByteIterable
-
count
- Specified by:
countin interfaceByteIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceByteIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceByteIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceByteIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceByteIterable
-
chunk
- Specified by:
chunkin interfaceByteIterable
-
toArray
public byte[] toArray()- Specified by:
toArrayin interfaceByteIterable
-
toList
- Specified by:
toListin interfaceByteIterable
-
toSet
- Specified by:
toSetin interfaceByteIterable
-
toBag
- Specified by:
toBagin interfaceByteIterable
-
sum
public long sum()- Specified by:
sumin interfaceByteIterable
-
max
public byte max()- Specified by:
maxin interfaceByteIterable
-
maxIfEmpty
public byte maxIfEmpty(byte ifEmpty) - Specified by:
maxIfEmptyin interfaceByteIterable
-
min
public byte min()- Specified by:
minin interfaceByteIterable
-
minIfEmpty
public byte minIfEmpty(byte ifEmpty) - Specified by:
minIfEmptyin interfaceByteIterable
-
average
public double average()- Specified by:
averagein interfaceByteIterable
-
median
public double median()- Specified by:
medianin interfaceByteIterable
-
toSortedArray
public byte[] toSortedArray()- Specified by:
toSortedArrayin interfaceByteIterable
-
toSortedList
- Specified by:
toSortedListin interfaceByteIterable
-
asLazy
- Specified by:
asLazyin interfaceByteIterable
-