Top Description Inners Fields Constructors Methods
org.eclipse.collections.impl.lazy.primitive

public Class ReverseByteIterable

extends AbstractLazyByteIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.ByteIterable, .LazyByteIterable, org.eclipse.collections.api.bag.primitive.MutableByteBag, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.factory.primitive.ByteBags, .ByteLists, .ByteSets, org.eclipse.collections.api.iterator.ByteIterator, org.eclipse.collections.api.list.primitive.ByteList, .MutableByteList, org.eclipse.collections.api.set.primitive.MutableByteSet, org.eclipse.collections.impl.lazy.ReverseIterable

This file was automatically generated from template file reversePrimitiveIterable.stg.
Since
5.0.
See Also
ReverseIterable

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private final ByteList

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ReverseByteIterable
adapt(ByteList byteList)

public LazyByteIterable
asLazy()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.asLazy.

Implements org.eclipse.collections.api.ByteIterable.asLazy.

Returns a LazyByteIterable adapter wrapping the source ByteIterable.

public double
public ByteIterator
byteIterator()

Implements org.eclipse.collections.api.ByteIterable.byteIterator.

Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style.

public boolean
contains(byte value)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.contains.

Implements org.eclipse.collections.api.ByteIterable.contains.

Returns true if the value is contained in the ByteIterable, and false if it is not.

public boolean
containsAll(byte... source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.containsAll.

Overrides default org.eclipse.collections.api.ByteIterable.containsAll.

Returns true if all of the values specified in the source array are contained in the ByteIterable, and false if they are not.

public boolean
containsAll(ByteIterable source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.containsAll.

Overrides default org.eclipse.collections.api.ByteIterable.containsAll.

Returns true if all of the values specified in the source ByteIterable are contained in the ByteIterable, and false if they are not.

public void
each(ByteProcedure procedure)

Implements org.eclipse.collections.api.ByteIterable.each.

A synonym for forEach.

public boolean
public byte
public byte
public double
public byte
public byte
public boolean
public int
public long
public byte[]
public MutableByteBag
public MutableByteList
public MutableByteSet
public byte[]
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable:
allSatisfyanySatisfyappendStringappendStringappendStringchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringnoneSatisfyrejectselecttaptoSortedListtoString

Field Detail

adaptedback to summary
private final ByteList adapted

Constructor Detail

ReverseByteIterableback to summary
public ReverseByteIterable(ByteList newAdapted)

Method Detail

adaptback to summary
public static ReverseByteIterable adapt(ByteList byteList)
asLazyback to summary
public LazyByteIterable asLazy()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.asLazy.

Implements org.eclipse.collections.api.ByteIterable.asLazy.

Doc from org.eclipse.collections.api.ByteIterable.asLazy.

Returns a LazyByteIterable adapter wrapping the source ByteIterable.

Annotations
@Override
averageback to summary
public double average()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.average.

Implements org.eclipse.collections.api.ByteIterable.average.

Annotations
@Override
byteIteratorback to summary
public ByteIterator byteIterator()

Implements org.eclipse.collections.api.ByteIterable.byteIterator.

Doc from org.eclipse.collections.api.ByteIterable.byteIterator.

Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style.

Annotations
@Override
containsback to summary
public boolean contains(byte value)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.contains.

Implements org.eclipse.collections.api.ByteIterable.contains.

Doc from org.eclipse.collections.api.ByteIterable.contains.

Returns true if the value is contained in the ByteIterable, and false if it is not.

Annotations
@Override
containsAllback to summary
public boolean containsAll(byte... source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.containsAll.

Overrides default org.eclipse.collections.api.ByteIterable.containsAll.

Doc from org.eclipse.collections.api.ByteIterable.containsAll.

Returns true if all of the values specified in the source array are contained in the ByteIterable, and false if they are not.

Annotations
@Override
containsAllback to summary
public boolean containsAll(ByteIterable source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.containsAll.

Overrides default org.eclipse.collections.api.ByteIterable.containsAll.

Doc from org.eclipse.collections.api.ByteIterable.containsAll.

Returns true if all of the values specified in the source ByteIterable are contained in the ByteIterable, and false if they are not.

Annotations
@Override
eachback to summary
public void each(ByteProcedure procedure)

Implements org.eclipse.collections.api.ByteIterable.each.

Doc from org.eclipse.collections.api.ByteIterable.each.

A synonym for forEach.

Annotations
@Override
Since
7.0.
isEmptyback to summary
public boolean isEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.isEmpty.

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

Annotations
@Override
maxback to summary
public byte max()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.max.

Implements org.eclipse.collections.api.ByteIterable.max.

Annotations
@Override
maxIfEmptyback to summary
public byte maxIfEmpty(byte defaultValue)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.maxIfEmpty.

Implements org.eclipse.collections.api.ByteIterable.maxIfEmpty.

Annotations
@Override
medianback to summary
public double median()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.median.

Implements org.eclipse.collections.api.ByteIterable.median.

Annotations
@Override
minback to summary
public byte min()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.min.

Implements org.eclipse.collections.api.ByteIterable.min.

Annotations
@Override
minIfEmptyback to summary
public byte minIfEmpty(byte defaultValue)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.minIfEmpty.

Implements org.eclipse.collections.api.ByteIterable.minIfEmpty.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.notEmpty.

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

Annotations
@Override
sizeback to summary
public int size()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.size.

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Doc from org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

Annotations
@Override
sumback to summary
public long sum()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.sum.

Implements org.eclipse.collections.api.ByteIterable.sum.

Annotations
@Override
toArrayback to summary
public byte[] toArray()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.toArray.

Implements org.eclipse.collections.api.ByteIterable.toArray.

Doc from org.eclipse.collections.api.ByteIterable.toArray.

Converts the ByteIterable to a primitive byte array.

Annotations
@Override
toBagback to summary
public MutableByteBag toBag()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.toBag.

Implements org.eclipse.collections.api.ByteIterable.toBag.

Doc from org.eclipse.collections.api.ByteIterable.toBag.

Converts the ByteIterable to a new MutableByteBag.

Annotations
@Override
toListback to summary
public MutableByteList toList()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.toList.

Implements org.eclipse.collections.api.ByteIterable.toList.

Doc from org.eclipse.collections.api.ByteIterable.toList.

Converts the ByteIterable to a new MutableByteList.

Annotations
@Override
toSetback to summary
public MutableByteSet toSet()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.toSet.

Implements org.eclipse.collections.api.ByteIterable.toSet.

Doc from org.eclipse.collections.api.ByteIterable.toSet.

Converts the ByteIterable to a new MutableByteSet.

Annotations
@Override
toSortedArrayback to summary
public byte[] toSortedArray()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.toSortedArray.

Implements org.eclipse.collections.api.ByteIterable.toSortedArray.

Annotations
@Override
org.eclipse.collections.impl.lazy.primitive back to summary

private Class ReverseByteIterable.ReverseByteIterator

extends Object
implements ByteIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.ReverseByteIterable.ReverseByteIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.ByteIterator

Field Summary

Modifier and TypeField and Description
private int
currentIndex

Index of element to be returned by subsequent call to next.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public byte
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentIndexback to summary
private int currentIndex

Index of element to be returned by subsequent call to next.

Constructor Detail

ReverseByteIteratorback to summary
private ReverseByteIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements org.eclipse.collections.api.iterator.ByteIterator.hasNext.

Annotations
@Override
nextback to summary
public byte next()

Implements org.eclipse.collections.api.iterator.ByteIterator.next.

Annotations
@Override