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

public Class ReverseDoubleIterable

extends AbstractLazyDoubleIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.DoubleIterable, .LazyDoubleIterable, org.eclipse.collections.api.bag.primitive.MutableDoubleBag, org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure, org.eclipse.collections.api.factory.primitive.DoubleBags, .DoubleLists, .DoubleSets, org.eclipse.collections.api.iterator.DoubleIterator, org.eclipse.collections.api.list.primitive.DoubleList, .MutableDoubleList, org.eclipse.collections.api.set.primitive.MutableDoubleSet, 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 DoubleList

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ReverseDoubleIterable
adapt(DoubleList doubleList)

public LazyDoubleIterable
asLazy()

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

Implements org.eclipse.collections.api.DoubleIterable.asLazy.

Returns a LazyDoubleIterable adapter wrapping the source DoubleIterable.

public double
public boolean
contains(double value)

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

Implements org.eclipse.collections.api.DoubleIterable.contains.

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

public boolean
containsAll(double... source)

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

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

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

public boolean
containsAll(DoubleIterable source)

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

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

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

public DoubleIterator
doubleIterator()

Implements org.eclipse.collections.api.DoubleIterable.doubleIterator.

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

public void
each(DoubleProcedure procedure)

Implements org.eclipse.collections.api.DoubleIterable.each.

A synonym for forEach.

public boolean
public double
public double
public double
public double
public double
public boolean
public int
public double
public double[]
public MutableDoubleBag
public MutableDoubleList
public MutableDoubleSet
public double[]
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable:
allSatisfyanySatisfyappendStringappendStringappendStringchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringnoneSatisfyrejectselecttaptoSortedListtoString

Field Detail

adaptedback to summary
private final DoubleList adapted

Constructor Detail

ReverseDoubleIterableback to summary
public ReverseDoubleIterable(DoubleList newAdapted)

Method Detail

adaptback to summary
public static ReverseDoubleIterable adapt(DoubleList doubleList)
asLazyback to summary
public LazyDoubleIterable asLazy()

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

Implements org.eclipse.collections.api.DoubleIterable.asLazy.

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

Returns a LazyDoubleIterable adapter wrapping the source DoubleIterable.

Annotations
@Override
averageback to summary
public double average()

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

Implements org.eclipse.collections.api.DoubleIterable.average.

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

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

Implements org.eclipse.collections.api.DoubleIterable.contains.

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

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

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

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

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

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

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

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

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

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

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

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

Annotations
@Override
doubleIteratorback to summary
public DoubleIterator doubleIterator()

Implements org.eclipse.collections.api.DoubleIterable.doubleIterator.

Doc from org.eclipse.collections.api.DoubleIterable.doubleIterator.

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

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

Implements org.eclipse.collections.api.DoubleIterable.each.

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

A synonym for forEach.

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

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable.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 double max()

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

Implements org.eclipse.collections.api.DoubleIterable.max.

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

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

Implements org.eclipse.collections.api.DoubleIterable.maxIfEmpty.

Annotations
@Override
medianback to summary
public double median()

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

Implements org.eclipse.collections.api.DoubleIterable.median.

Annotations
@Override
minback to summary
public double min()

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

Implements org.eclipse.collections.api.DoubleIterable.min.

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

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

Implements org.eclipse.collections.api.DoubleIterable.minIfEmpty.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable.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.AbstractLazyDoubleIterable.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 double sum()

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

Implements org.eclipse.collections.api.DoubleIterable.sum.

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

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

Implements org.eclipse.collections.api.DoubleIterable.toArray.

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

Converts the DoubleIterable to a primitive double array.

Annotations
@Override
toBagback to summary
public MutableDoubleBag toBag()

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

Implements org.eclipse.collections.api.DoubleIterable.toBag.

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

Converts the DoubleIterable to a new MutableDoubleBag.

Annotations
@Override
toListback to summary
public MutableDoubleList toList()

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

Implements org.eclipse.collections.api.DoubleIterable.toList.

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

Converts the DoubleIterable to a new MutableDoubleList.

Annotations
@Override
toSetback to summary
public MutableDoubleSet toSet()

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

Implements org.eclipse.collections.api.DoubleIterable.toSet.

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

Converts the DoubleIterable to a new MutableDoubleSet.

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

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

Implements org.eclipse.collections.api.DoubleIterable.toSortedArray.

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

private Class ReverseDoubleIterable.ReverseDoubleIterator

extends Object
implements DoubleIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.ReverseDoubleIterable.ReverseDoubleIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.DoubleIterator

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 double
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

ReverseDoubleIteratorback to summary
private ReverseDoubleIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public double next()

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

Annotations
@Override