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

public Class ReverseFloatIterable

extends AbstractLazyFloatIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.FloatIterable, .LazyFloatIterable, org.eclipse.collections.api.bag.primitive.MutableFloatBag, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.api.factory.primitive.FloatBags, .FloatLists, .FloatSets, org.eclipse.collections.api.iterator.FloatIterator, org.eclipse.collections.api.list.primitive.FloatList, .MutableFloatList, org.eclipse.collections.api.set.primitive.MutableFloatSet, 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 FloatList

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ReverseFloatIterable
adapt(FloatList floatList)

public LazyFloatIterable
asLazy()

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

Implements org.eclipse.collections.api.FloatIterable.asLazy.

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

public double
public boolean
contains(float value)

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

Implements org.eclipse.collections.api.FloatIterable.contains.

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

public boolean
containsAll(float... source)

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

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

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

public boolean
containsAll(FloatIterable source)

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

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

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

public void
each(FloatProcedure procedure)

Implements org.eclipse.collections.api.FloatIterable.each.

A synonym for forEach.

public FloatIterator
floatIterator()

Implements org.eclipse.collections.api.FloatIterable.floatIterator.

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

public boolean
public float
public float
public double
public float
public float
public boolean
public int
public double
public float[]
public MutableFloatBag
public MutableFloatList
public MutableFloatSet
public float[]
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable:
allSatisfyanySatisfyappendStringappendStringappendStringchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringnoneSatisfyrejectselecttaptoSortedListtoString

Field Detail

adaptedback to summary
private final FloatList adapted

Constructor Detail

ReverseFloatIterableback to summary
public ReverseFloatIterable(FloatList newAdapted)

Method Detail

adaptback to summary
public static ReverseFloatIterable adapt(FloatList floatList)
asLazyback to summary
public LazyFloatIterable asLazy()

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

Implements org.eclipse.collections.api.FloatIterable.asLazy.

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

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

Annotations
@Override
averageback to summary
public double average()

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

Implements org.eclipse.collections.api.FloatIterable.average.

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

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

Implements org.eclipse.collections.api.FloatIterable.contains.

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

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

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

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

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

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

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

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

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

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

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

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

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

Implements org.eclipse.collections.api.FloatIterable.each.

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

A synonym for forEach.

Annotations
@Override
Since
7.0.
floatIteratorback to summary
public FloatIterator floatIterator()

Implements org.eclipse.collections.api.FloatIterable.floatIterator.

Doc from org.eclipse.collections.api.FloatIterable.floatIterator.

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

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

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

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

Implements org.eclipse.collections.api.FloatIterable.max.

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

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

Implements org.eclipse.collections.api.FloatIterable.maxIfEmpty.

Annotations
@Override
medianback to summary
public double median()

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

Implements org.eclipse.collections.api.FloatIterable.median.

Annotations
@Override
minback to summary
public float min()

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

Implements org.eclipse.collections.api.FloatIterable.min.

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

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

Implements org.eclipse.collections.api.FloatIterable.minIfEmpty.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable.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.AbstractLazyFloatIterable.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.AbstractLazyFloatIterable.sum.

Implements org.eclipse.collections.api.FloatIterable.sum.

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

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

Implements org.eclipse.collections.api.FloatIterable.toArray.

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

Converts the FloatIterable to a primitive float array.

Annotations
@Override
toBagback to summary
public MutableFloatBag toBag()

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

Implements org.eclipse.collections.api.FloatIterable.toBag.

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

Converts the FloatIterable to a new MutableFloatBag.

Annotations
@Override
toListback to summary
public MutableFloatList toList()

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

Implements org.eclipse.collections.api.FloatIterable.toList.

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

Converts the FloatIterable to a new MutableFloatList.

Annotations
@Override
toSetback to summary
public MutableFloatSet toSet()

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

Implements org.eclipse.collections.api.FloatIterable.toSet.

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

Converts the FloatIterable to a new MutableFloatSet.

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

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

Implements org.eclipse.collections.api.FloatIterable.toSortedArray.

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

private Class ReverseFloatIterable.ReverseFloatIterator

extends Object
implements FloatIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.ReverseFloatIterable.ReverseFloatIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.FloatIterator

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

ReverseFloatIteratorback to summary
private ReverseFloatIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public float next()

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

Annotations
@Override