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

public abstract Class AbstractFloatIterable

extends Object
implements FloatIterable
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.set.primitive.AbstractFloatSet, org.eclipse.collections.impl.bag.mutable.primitive.FloatHashBag, org.eclipse.collections.impl.list.mutable.primitive.FloatArrayList, org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableFloatValuesMap
Imports
java.util.Arrays, org.eclipse.collections.api.FloatIterable, .LazyFloatIterable, org.eclipse.collections.api.bag.primitive.MutableFloatBag, 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.lazy.primitive.LazyFloatIterableAdapter

This file was automatically generated from template file abstractPrimitiveIterable.stg.
Since
6.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public LazyFloatIterable
asLazy()

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

Returns a LazyFloatIterable adapter wrapping the source FloatIterable.

public double
public float
public double
public float
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

AbstractFloatIterableback to summary
public AbstractFloatIterable()

Method Detail

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
maxIfEmptyback to summary
public float maxIfEmpty(float defaultValue)

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

Annotations
@Override
medianback to summary
public double median()

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

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

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

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