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
public abstract class AbstractLazyByteIterable extends Object implements LazyByteIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description AbstractLazyByteIterable()
-
Method Summary
-
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, 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
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
toString
public String 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
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- 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
public boolean containsAll(ByteIterable source)
- Specified by:
containsAllin interfaceByteIterable
-
select
public LazyByteIterable select(BytePredicate predicate)
- Specified by:
selectin interfaceByteIterable- Specified by:
selectin interfaceLazyByteIterable
-
reject
public LazyByteIterable reject(BytePredicate predicate)
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceLazyByteIterable
-
tap
public LazyByteIterable tap(ByteProcedure procedure)
- Specified by:
tapin interfaceByteIterable- Specified by:
tapin interfaceLazyByteIterable
-
collect
public <V> LazyIterable<V> collect(ByteToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceLazyByteIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(ByteToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceLazyByteIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(ByteToBooleanFunction function)
- Specified by:
collectBooleanin interfaceLazyByteIterable- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(ByteToByteFunction function)
- Specified by:
collectBytein interfaceLazyByteIterable- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(ByteToCharFunction function)
- Specified by:
collectCharin interfaceLazyByteIterable- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(ByteToShortFunction function)
- Specified by:
collectShortin interfaceLazyByteIterable- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(ByteToIntFunction function)
- Specified by:
collectIntin interfaceLazyByteIterable- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(ByteToFloatFunction function)
- Specified by:
collectFloatin interfaceLazyByteIterable- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(ByteToLongFunction function)
- Specified by:
collectLongin interfaceLazyByteIterable- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(ByteToDoubleFunction function)
- Specified by:
collectDoublein interfaceLazyByteIterable- Since:
- 7.0
-
detectIfNone
public byte detectIfNone(BytePredicate predicate, byte ifNone)
- Specified by:
detectIfNonein interfaceByteIterable
-
count
public int count(BytePredicate predicate)
- Specified by:
countin interfaceByteIterable
-
anySatisfy
public boolean anySatisfy(BytePredicate predicate)
- Specified by:
anySatisfyin interfaceByteIterable
-
allSatisfy
public boolean allSatisfy(BytePredicate predicate)
- Specified by:
allSatisfyin interfaceByteIterable
-
noneSatisfy
public boolean noneSatisfy(BytePredicate predicate)
- Specified by:
noneSatisfyin interfaceByteIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectByteToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceByteIterable
-
chunk
public RichIterable<ByteIterable> chunk(int size)
- Specified by:
chunkin interfaceByteIterable
-
toArray
public byte[] toArray()
- Specified by:
toArrayin interfaceByteIterable
-
toList
public MutableByteList toList()
- Specified by:
toListin interfaceByteIterable
-
toSet
public MutableByteSet toSet()
- Specified by:
toSetin interfaceByteIterable
-
toBag
public MutableByteBag 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
public MutableByteList toSortedList()
- Specified by:
toSortedListin interfaceByteIterable
-
asLazy
public LazyByteIterable asLazy()
- Specified by:
asLazyin interfaceByteIterable
-
-