ReverseIterable
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Access | Constructor and Description |
|---|---|
| public |
| adapted | back to summary |
|---|---|
| private final ByteList adapted | |
| ReverseByteIterable | back to summary |
|---|---|
| public ReverseByteIterable(ByteList newAdapted) | |
| adapt | back to summary |
|---|---|
| public static ReverseByteIterable adapt(ByteList byteList) | |
| asLazy | back to summary |
|---|---|
| public LazyByteIterable asLazy() Overrides org. Implements org. Doc from org. Returns a LazyByteIterable adapter wrapping the source ByteIterable.
| |
| average | back to summary |
|---|---|
| public double average() Overrides org. Implements org.
| |
| byteIterator | back to summary |
|---|---|
| public ByteIterator byteIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style.
| |
| contains | back to summary |
|---|---|
| public boolean contains(byte value) Overrides org. Implements org. Doc from org. Returns true if the value is contained in the ByteIterable, and false if it is not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(byte... source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source array are contained in the ByteIterable, and false if they are not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(ByteIterable source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source ByteIterable are contained in the ByteIterable, and false if they are not.
| |
| each | back to summary |
|---|---|
| public void each(ByteProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Overrides default org. Doc from org. Returns true if this iterable has zero items.
| |
| max | back to summary |
|---|---|
| public byte max() Overrides org. Implements org.
| |
| maxIfEmpty | back to summary |
|---|---|
| public byte maxIfEmpty(byte defaultValue) Overrides org. Implements org.
| |
| median | back to summary |
|---|---|
| public double median() Overrides org. Implements org.
| |
| min | back to summary |
|---|---|
| public byte min() Overrides org. Implements org.
| |
| minIfEmpty | back to summary |
|---|---|
| public byte minIfEmpty(byte defaultValue) Overrides org. Implements org.
| |
| notEmpty | back to summary |
|---|---|
| public boolean notEmpty() Overrides org. Overrides default org. Doc from org. The English equivalent of !this.isEmpty()
| |
| size | back to summary |
|---|---|
| public int size() Overrides org. Implements org. Doc from org. Returns the number of items in this iterable.
| |
| sum | back to summary |
|---|---|
| public long sum() Overrides org. Implements org.
| |
| toArray | back to summary |
|---|---|
| public byte[] toArray() Overrides org. Implements org. Doc from org. Converts the ByteIterable to a primitive byte array.
| |
| toBag | back to summary |
|---|---|
| public MutableByteBag toBag() Overrides org. Implements org. Doc from org. Converts the ByteIterable to a new MutableByteBag.
| |
| toList | back to summary |
|---|---|
| public MutableByteList toList() Overrides org. Implements org. Doc from org. Converts the ByteIterable to a new MutableByteList.
| |
| toSet | back to summary |
|---|---|
| public MutableByteSet toSet() Overrides org. Implements org. Doc from org. Converts the ByteIterable to a new MutableByteSet.
| |
| toSortedArray | back to summary |
|---|---|
| public byte[] toSortedArray() Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | currentIndex
Index of element to be returned by subsequent call to next. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public byte |
| currentIndex | back to summary |
|---|---|
| private int currentIndex Index of element to be returned by subsequent call to next. | |
| ReverseByteIterator | back to summary |
|---|---|
| private ReverseByteIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public byte next() Implements org.
| |