Class ReverseByteIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
-
- org.eclipse.collections.impl.lazy.primitive.ReverseByteIterable
-
- All Implemented Interfaces:
ByteIterable,LazyByteIterable,PrimitiveIterable
public class ReverseByteIterable extends AbstractLazyByteIterable
This file was automatically generated from template file reversePrimitiveIterable.stg.- Since:
- 5.0.
- See Also:
ReverseIterable
-
-
Constructor Summary
Constructors Constructor Description ReverseByteIterable(ByteList newAdapted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReverseByteIterableadapt(ByteList byteList)LazyByteIterableasLazy()doubleaverage()ByteIteratorbyteIterator()booleancontains(byte value)booleancontainsAll(byte... source)booleancontainsAll(ByteIterable source)voideach(ByteProcedure procedure)booleanisEmpty()bytemax()bytemaxIfEmpty(byte defaultValue)doublemedian()bytemin()byteminIfEmpty(byte defaultValue)booleannotEmpty()intsize()longsum()byte[]toArray()MutableByteBagtoBag()MutableByteListtoList()MutableByteSettoSet()byte[]toSortedArray()-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toSortedList, toString
-
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
-
ReverseByteIterable
public ReverseByteIterable(ByteList newAdapted)
-
-
Method Detail
-
adapt
public static ReverseByteIterable adapt(ByteList byteList)
-
byteIterator
public ByteIterator byteIterator()
-
each
public void each(ByteProcedure procedure)
- Since:
- 7.0.
-
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
-
toArray
public byte[] toArray()
- Specified by:
toArrayin interfaceByteIterable- Overrides:
toArrayin 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
-
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
-
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
-
asLazy
public LazyByteIterable asLazy()
- Specified by:
asLazyin interfaceByteIterable- Overrides:
asLazyin classAbstractLazyByteIterable
-
-