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

public Class SelectFloatIterable

extends AbstractLazyFloatIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.bag.primitive.MutableFloatBag, 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.iterator.FloatIterator, org.eclipse.collections.api.list.primitive.MutableFloatList, org.eclipse.collections.api.set.primitive.MutableFloatSet

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

Nested and Inner Type Summary

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

Field Summary

Modifier and TypeField and Description
private final FloatIterable
private final FloatPredicate

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 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 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
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable:
appendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainsdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfyrejectselectsumtaptoSortedArraytoSortedListtoString

Field Detail

delegateback to summary
private final FloatIterable delegate
predicateback to summary
private final FloatPredicate predicate

Constructor Detail

SelectFloatIterableback to summary
public SelectFloatIterable(FloatIterable delegate, FloatPredicate predicate)

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
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
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
org.eclipse.collections.impl.lazy.primitive back to summary

private final Class SelectFloatIterable.CountFloatProcedure

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

Field Summary

Modifier and TypeField and Description
private int
private final FloatPredicate
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

counterback to summary
private int counter
predicateback to summary
private final FloatPredicate predicate
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

CountFloatProcedureback to summary
private CountFloatProcedure(FloatPredicate predicate)

Method Detail

getCountback to summary
public int getCount()
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 SelectFloatIterable.IfFloatProcedure

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

Field Summary

Modifier and TypeField and Description
private final FloatProcedure
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

procedureback to summary
private final FloatProcedure procedure
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IfFloatProcedureback to summary
private IfFloatProcedure(FloatProcedure procedure)

Method Detail

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 SelectFloatIterable.SelectFloatIterator

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

Field Summary

Modifier and TypeField and Description
private final FloatIterator
private float
private final FloatPredicate
private boolean

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

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

Field Detail

iteratorback to summary
private final FloatIterator iterator
nextback to summary
private float next
predicateback to summary
private final FloatPredicate predicate
verifiedHasNextback to summary
private boolean verifiedHasNext

Constructor Detail

SelectFloatIteratorback to summary
private SelectFloatIterator(FloatIterable iterable, FloatPredicate predicate)
SelectFloatIteratorback to summary
private SelectFloatIterator(FloatIterator iterator, FloatPredicate predicate)

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