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

public Class CollectFloatIterable<T>

extends AbstractLazyFloatIterable
Class Inheritance
Imports
java.util.Arrays, .Iterator, org.eclipse.collections.api.FloatIterable, .LazyIterable, org.eclipse.collections.api.bag.primitive.MutableFloatBag, org.eclipse.collections.api.block.function.primitive.FloatFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.Procedure2, 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.MutableFloatList, org.eclipse.collections.api.set.primitive.MutableFloatSet

This file was automatically generated from template file collectPrimitiveIterable.stg.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final CollectFloatIterable.FloatFunctionToProcedure<T>
private final FloatFunction<? super T>
private final LazyIterable<T>

Constructor Summary

AccessConstructor and Description
public
CollectFloatIterable(LazyIterable<T> adapted, FloatFunction<? super T> function)

Method Summary

Modifier and TypeMethod and Description
public boolean
allSatisfy(final FloatPredicate predicate)

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

Implements org.eclipse.collections.api.FloatIterable.allSatisfy.

Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(final FloatPredicate predicate)

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

Implements org.eclipse.collections.api.FloatIterable.anySatisfy.

Returns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.

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 int
count(final FloatPredicate predicate)

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

Implements org.eclipse.collections.api.FloatIterable.count.

Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.

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 boolean
public int
public float[]
public MutableFloatBag
public MutableFloatList
public MutableFloatSet
public float[]
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable:
appendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainsdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfyrejectselectsumtaptoSortedListtoString

Field Detail

floatFunctionToProcedureback to summary
private final CollectFloatIterable.FloatFunctionToProcedure<T> floatFunctionToProcedure
functionback to summary
private final FloatFunction<? super T> function
iterableback to summary
private final LazyIterable<T> iterable

Constructor Detail

CollectFloatIterableback to summary
public CollectFloatIterable(LazyIterable<T> adapted, FloatFunction<? super T> function)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(final FloatPredicate predicate)

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

Implements org.eclipse.collections.api.FloatIterable.allSatisfy.

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

Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
anySatisfyback to summary
public boolean anySatisfy(final FloatPredicate predicate)

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

Implements org.eclipse.collections.api.FloatIterable.anySatisfy.

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

Returns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.

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
countback to summary
public int count(final FloatPredicate predicate)

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

Implements org.eclipse.collections.api.FloatIterable.count.

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

Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.

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
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
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 final Class CollectFloatIterable.FloatFunctionToProcedure<T>

extends Object
implements Procedure2<T, FloatProcedure>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.CollectFloatIterable.FloatFunctionToProcedure
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure2, java.io.Serializable, java.util.function.BiConsumer

Field Summary

Modifier and TypeField and Description
private final FloatFunction<? super T>
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

functionback to summary
private final FloatFunction<? super T> function
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

FloatFunctionToProcedureback to summary
private FloatFunctionToProcedure(FloatFunction<? super T> function)

Method Detail

valueback to summary
public void value(T each, FloatProcedure procedure)

Implements org.eclipse.collections.api.block.procedure.Procedure2.value.

Annotations
@Override