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

public abstract Class AbstractLazyFloatIterable

extends Object
implements LazyFloatIterable
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.LazyFloatIterable, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.lazy.primitive.CollectBooleanToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectIntToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectLongToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectDoubleToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectFloatToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectShortToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectCharToFloatIterable, org.eclipse.collections.impl.lazy.primitive.CollectByteToFloatIterable, org.eclipse.collections.impl.lazy.primitive.LazyFloatIterableAdapter, org.eclipse.collections.impl.lazy.primitive.ReverseFloatIterable, org.eclipse.collections.impl.lazy.primitive.SelectFloatIterable, org.eclipse.collections.impl.lazy.primitive.TapFloatIterable, org.eclipse.collections.impl.map.mutable.primitive.FloatDoubleHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatFloatHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatIntHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatLongHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatObjectHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatShortHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatBooleanHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatByteHashMap.KeysView, org.eclipse.collections.impl.map.mutable.primitive.FloatCharHashMap.KeysView
Imports
org.eclipse.collections.api.FloatIterable, .LazyBooleanIterable, .LazyByteIterable, .LazyCharIterable, .LazyDoubleIterable, .LazyFloatIterable, .LazyIntIterable, .LazyIterable, .LazyLongIterable, .LazyShortIterable, .RichIterable, org.eclipse.collections.api.bag.primitive.MutableFloatBag, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, .FloatToBooleanFunction, .FloatToByteFunction, .FloatToCharFunction, .FloatToDoubleFunction, .FloatToFloatFunction, .FloatToIntFunction, .FloatToLongFunction, .FloatToShortFunction, .ObjectFloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.api.factory.primitive.FloatBags, .FloatLists, .FloatSets, org.eclipse.collections.api.list.primitive.MutableFloatList, org.eclipse.collections.api.set.primitive.MutableFloatSet, org.eclipse.collections.impl.utility.internal.primitive.FloatIterableIterate, org.eclipse.collections.impl.utility.primitive.LazyFloatIterate, java.util.NoSuchElementException

This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
Since
5.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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 void
appendString(Appendable appendable)

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

Prints a string representation of this collection onto the given Appendable.

public void
appendString(Appendable appendable, String separator)

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

Prints a string representation of this collection onto the given Appendable.

public void
appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable.

public LazyFloatIterable
asLazy()

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

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

public double
public RichIterable<FloatIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

public <V> LazyIterable<V>
collect(FloatToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.LazyFloatIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public LazyBooleanIterable
public LazyByteIterable
public LazyCharIterable
public LazyDoubleIterable
public LazyFloatIterable
public LazyIntIterable
public LazyLongIterable
public LazyShortIterable
public boolean
contains(float value)

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

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 float
public <V> LazyIterable<V>
public <T> T
injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.FloatIterable.injectInto.

public boolean
isEmpty()

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

Returns true if this iterable has zero items.

public String
makeString()

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

Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).

public String
makeString(String separator)

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

Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).

public String
makeString(String start, String separator, String end)

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

Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.

public float
public float
public double
public float
public float
public boolean
noneSatisfy(FloatPredicate predicate)

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

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

public boolean
notEmpty()

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

The English equivalent of !this.isEmpty()

public LazyFloatIterable
reject(FloatPredicate predicate)

Implements org.eclipse.collections.api.LazyFloatIterable.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

public LazyFloatIterable
select(FloatPredicate predicate)

Implements org.eclipse.collections.api.LazyFloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

public int
size()

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

Returns the number of items in this iterable.

public double
public LazyFloatIterable
public float[]
toArray()

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

Converts the FloatIterable to a primitive float array.

public MutableFloatBag
toBag()

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

Converts the FloatIterable to a new MutableFloatBag.

public MutableFloatList
toList()

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

Converts the FloatIterable to a new MutableFloatList.

public MutableFloatSet
toSet()

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

Converts the FloatIterable to a new MutableFloatSet.

public float[]
public MutableFloatList
public String
toString()

Overrides java.lang.Object.toString.

Implements org.eclipse.collections.api.PrimitiveIterable.toString.

Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Constructor Detail

AbstractLazyFloatIterableback to summary
public AbstractLazyFloatIterable()

Method Detail

allSatisfyback to summary
public boolean allSatisfy(FloatPredicate predicate)

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

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
appendStringback to summary
public void appendString(Appendable appendable)

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

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

Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString().

Annotations
@Override
appendStringback to summary
public void appendString(Appendable appendable, String separator)

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

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

Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString(String).

Annotations
@Override
appendStringback to summary
public void appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

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

Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString(String, String, String).

Annotations
@Override
asLazyback to summary
public LazyFloatIterable 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()

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

Annotations
@Override
chunkback to summary
public RichIterable<FloatIterable> chunk(int size)

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

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

Partitions elements in fixed size chunks.

Annotations
@Override
collectback to summary
public <V> LazyIterable<V> collect(FloatToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.LazyFloatIterable.collect.

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

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
collectBooleanback to summary
public LazyBooleanIterable collectBoolean(FloatToBooleanFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectBoolean.

Annotations
@Override
Since
7.0
collectByteback to summary
public LazyByteIterable collectByte(FloatToByteFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectByte.

Annotations
@Override
Since
7.0
collectCharback to summary
public LazyCharIterable collectChar(FloatToCharFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectChar.

Annotations
@Override
Since
7.0
collectDoubleback to summary
public LazyDoubleIterable collectDouble(FloatToDoubleFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectDouble.

Annotations
@Override
Since
7.0
collectFloatback to summary
public LazyFloatIterable collectFloat(FloatToFloatFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectFloat.

Annotations
@Override
Since
7.0
collectIntback to summary
public LazyIntIterable collectInt(FloatToIntFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectInt.

Annotations
@Override
Since
7.0
collectLongback to summary
public LazyLongIterable collectLong(FloatToLongFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectLong.

Annotations
@Override
Since
7.0
collectShortback to summary
public LazyShortIterable collectShort(FloatToShortFunction function)

Implements org.eclipse.collections.api.LazyFloatIterable.collectShort.

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

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

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
detectIfNoneback to summary
public float detectIfNone(FloatPredicate predicate, float ifNone)

Implements org.eclipse.collections.api.FloatIterable.detectIfNone.

Annotations
@Override
flatCollectback to summary
public <V> LazyIterable<V> flatCollect(FloatToObjectFunction<? extends Iterable<V>> function)

Implements org.eclipse.collections.api.LazyFloatIterable.flatCollect.

injectIntoback to summary
public <T> T injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.FloatIterable.injectInto.

Annotations
@Override
isEmptyback to summary
public boolean 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
makeStringback to summary
public String makeString()

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

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

Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).

Annotations
@Override
makeStringback to summary
public String makeString(String separator)

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

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

Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).

Annotations
@Override
makeStringback to summary
public String makeString(String start, String separator, String end)

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

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

Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.

Annotations
@Override
maxback to summary
public float max()

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

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

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

Annotations
@Override
medianback to summary
public double median()

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

Annotations
@Override
minback to summary
public float min()

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

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

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

Annotations
@Override
noneSatisfyback to summary
public boolean noneSatisfy(FloatPredicate predicate)

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

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

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

Annotations
@Override
notEmptyback to summary
public boolean 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
rejectback to summary
public LazyFloatIterable reject(FloatPredicate predicate)

Implements org.eclipse.collections.api.LazyFloatIterable.reject.

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

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

Annotations
@Override
selectback to summary
public LazyFloatIterable select(FloatPredicate predicate)

Implements org.eclipse.collections.api.LazyFloatIterable.select.

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

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

Annotations
@Override
sizeback to summary
public int 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()

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

Annotations
@Override
tapback to summary
public LazyFloatIterable tap(FloatProcedure procedure)

Implements org.eclipse.collections.api.LazyFloatIterable.tap.

Annotations
@Override
toArrayback to summary
public float[] 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()

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()

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()

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()

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

Annotations
@Override
toSortedListback to summary
public MutableFloatList toSortedList()

Implements org.eclipse.collections.api.FloatIterable.toSortedList.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements org.eclipse.collections.api.PrimitiveIterable.toString.

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

Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.

Assert.assertEquals("[]", IntLists.mutable.empty().toString());
Assert.assertEquals("[1]", IntLists.mutable.with(1).toString());
Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());
Annotations
@Override
org.eclipse.collections.impl.lazy.primitive back to summary

private final Class AbstractLazyFloatIterable.FloatMaxProcedure

extends Object
implements FloatProcedure
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable.FloatMaxProcedure
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private float
private boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

maxback to summary
private float max
visitedOnceback to summary
private boolean visitedOnce

Constructor Detail

FloatMaxProcedureback to summary
private FloatMaxProcedure()

Method Detail

getValueback to summary
public float getValue()
valueback to summary
public void value(float each)

Implements org.eclipse.collections.api.block.procedure.primitive.FloatProcedure.value.

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

private final Class AbstractLazyFloatIterable.FloatMinProcedure

extends Object
implements FloatProcedure
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable.FloatMinProcedure
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private float
private boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

minback to summary
private float min
visitedOnceback to summary
private boolean visitedOnce

Constructor Detail

FloatMinProcedureback to summary
private FloatMinProcedure()

Method Detail

getValueback to summary
public float getValue()
valueback to summary
public void value(float each)

Implements org.eclipse.collections.api.block.procedure.primitive.FloatProcedure.value.

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

private final Class AbstractLazyFloatIterable.FloatSumProcedure

extends Object
implements FloatProcedure
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable.FloatSumProcedure
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private double
private double

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

compensationback to summary
private double compensation
sumback to summary
private double sum

Constructor Detail

FloatSumProcedureback to summary
private FloatSumProcedure()

Method Detail

getValueback to summary
public double getValue()
valueback to summary
public void value(float each)

Implements org.eclipse.collections.api.block.procedure.primitive.FloatProcedure.value.

Annotations
@Override