public class ReverseByteIterable extends AbstractLazyByteIterable
ReverseIterable
Constructor and Description |
---|
ReverseByteIterable(ByteList newAdapted) |
Modifier and Type | Method and Description |
---|---|
static ReverseByteIterable |
adapt(ByteList byteList) |
LazyByteIterable |
asLazy() |
double |
average() |
ByteIterator |
byteIterator() |
boolean |
contains(byte value) |
boolean |
containsAll(byte... source) |
boolean |
containsAll(ByteIterable source) |
void |
each(ByteProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
byte |
max() |
byte |
maxIfEmpty(byte defaultValue) |
double |
median() |
byte |
min() |
byte |
minIfEmpty(byte defaultValue) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
byte[] |
toArray() |
MutableByteBag |
toBag() |
MutableByteList |
toList() |
MutableByteSet |
toSet() |
byte[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
summaryStatistics
public ReverseByteIterable(ByteList newAdapted)
public static ReverseByteIterable adapt(ByteList byteList)
public ByteIterator byteIterator()
public void each(ByteProcedure procedure)
public long sum()
sum
in interface ByteIterable
sum
in class AbstractLazyByteIterable
public byte max()
max
in interface ByteIterable
max
in class AbstractLazyByteIterable
public byte min()
min
in interface ByteIterable
min
in class AbstractLazyByteIterable
public byte minIfEmpty(byte defaultValue)
minIfEmpty
in interface ByteIterable
minIfEmpty
in class AbstractLazyByteIterable
public byte maxIfEmpty(byte defaultValue)
maxIfEmpty
in interface ByteIterable
maxIfEmpty
in class AbstractLazyByteIterable
public double average()
average
in interface ByteIterable
average
in class AbstractLazyByteIterable
public double median()
median
in interface ByteIterable
median
in class AbstractLazyByteIterable
public byte[] toSortedArray()
toSortedArray
in interface ByteIterable
toSortedArray
in class AbstractLazyByteIterable
public byte[] toArray()
toArray
in interface ByteIterable
toArray
in class AbstractLazyByteIterable
public boolean contains(byte value)
contains
in interface ByteIterable
contains
in class AbstractLazyByteIterable
public boolean containsAll(byte... source)
containsAll
in interface ByteIterable
containsAll
in class AbstractLazyByteIterable
public boolean containsAll(ByteIterable source)
containsAll
in interface ByteIterable
containsAll
in class AbstractLazyByteIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyByteIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyByteIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyByteIterable
public MutableByteList toList()
toList
in interface ByteIterable
toList
in class AbstractLazyByteIterable
public MutableByteSet toSet()
toSet
in interface ByteIterable
toSet
in class AbstractLazyByteIterable
public MutableByteBag toBag()
toBag
in interface ByteIterable
toBag
in class AbstractLazyByteIterable
public LazyByteIterable asLazy()
asLazy
in interface ByteIterable
asLazy
in class AbstractLazyByteIterable
Copyright © 2004–2016. All rights reserved.