Top Description Fields Constructors Methods
org.eclipse.collections.impl.utility.primitive

public final Class LazyFloatIterate

extends Object
Class Inheritance
Imports
org.eclipse.collections.api.FloatIterable, .LazyFloatIterable, .LazyIterable, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.impl.factory.primitive.FloatLists, org.eclipse.collections.impl.lazy.primitive.CollectFloatToObjectIterable, .FlatCollectFloatToObjectIterable, .LazyFloatIterableAdapter, .SelectFloatIterable, .TapFloatIterable

LazyFloatIterate is a factory class which creates "deferred" float iterables around the specified float iterables. A "deferred" float iterable performs some operation, such as filtering or transforming, when the result float iterable is iterated over. This makes the operation very memory efficient, because you don't have to create intermediate collections during the operation. This file was automatically generated from template file lazyPrimitiveIterate.stg.
Since
5.0

Field Summary

Modifier and TypeField and Description
private static final LazyFloatIterable

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LazyFloatIterable
adapt(FloatIterable iterable)

Creates a deferred float iterable for the specified float iterable.

public static <V> LazyIterable<V>
collect(FloatIterable iterable, FloatToObjectFunction<? extends V> function)

Creates a deferred transforming float iterable for the specified float iterable.

public static <V> LazyIterable<V>
collectIf(FloatIterable iterable, FloatPredicate predicate, FloatToObjectFunction<? extends V> function)

Creates a deferred filtering and transforming float iterable for the specified float iterable.

public static LazyFloatIterable
public static <V> LazyIterable<V>
flatCollect(FloatIterable iterable, FloatToObjectFunction<? extends Iterable<V>> function)

Creates a deferred transforming and flattening float iterable for the specified float iterable.

public static LazyFloatIterable
select(FloatIterable iterable, FloatPredicate predicate)

Creates a deferred filtering float iterable for the specified float iterable.

public static LazyFloatIterable
tap(FloatIterable iterable, FloatProcedure procedure)

Creates a deferred tap iterable for the specified iterable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EMPTY_ITERABLEback to summary
private static final LazyFloatIterable EMPTY_ITERABLE

Constructor Detail

LazyFloatIterateback to summary
private LazyFloatIterate()

Method Detail

adaptback to summary
public static LazyFloatIterable adapt(FloatIterable iterable)

Creates a deferred float iterable for the specified float iterable.

collectback to summary
public static <V> LazyIterable<V> collect(FloatIterable iterable, FloatToObjectFunction<? extends V> function)

Creates a deferred transforming float iterable for the specified float iterable.

collectIfback to summary
public static <V> LazyIterable<V> collectIf(FloatIterable iterable, FloatPredicate predicate, FloatToObjectFunction<? extends V> function)

Creates a deferred filtering and transforming float iterable for the specified float iterable.

emptyback to summary
public static LazyFloatIterable empty()
flatCollectback to summary
public static <V> LazyIterable<V> flatCollect(FloatIterable iterable, FloatToObjectFunction<? extends Iterable<V>> function)

Creates a deferred transforming and flattening float iterable for the specified float iterable.

Since
9.0
selectback to summary
public static LazyFloatIterable select(FloatIterable iterable, FloatPredicate predicate)

Creates a deferred filtering float iterable for the specified float iterable.

tapback to summary
public static LazyFloatIterable tap(FloatIterable iterable, FloatProcedure procedure)

Creates a deferred tap iterable for the specified iterable.

Since
9.0