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

public Class LazyFloatIterableAdapter

extends AbstractLazyFloatIterable
Class Inheritance
Imports
org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.bag.primitive.MutableFloatBag, org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, 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 lazyPrimitiveIterableAdapter.stg.
Since
3.0

Field Summary

Modifier and TypeField and Description
private final FloatIterable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
allSatisfy(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(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 void
appendString(Appendable appendable)

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

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

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)

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

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

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

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 int
count(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 float
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 <T> T
public boolean
public String
makeString()

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

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

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

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
public int
public double
public float[]
public MutableFloatBag
public MutableFloatList
public MutableFloatSet
public float[]
public MutableFloatList
public String
toString()

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

Field Detail

delegateback to summary
private final FloatIterable delegate

Constructor Detail

LazyFloatIterableAdapterback to summary
public LazyFloatIterableAdapter(FloatIterable delegate)

Method Detail

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

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

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

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)

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

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

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

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

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
injectIntoback to summary
public <T> T injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function)

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

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

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
makeStringback to summary
public String makeString()

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

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

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
noneSatisfyback to summary
public boolean noneSatisfy(FloatPredicate predicate)

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

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 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
toSortedListback to summary
public MutableFloatList toSortedList()

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

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

Annotations
@Override
toStringback to summary
public String toString()

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