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

public Class CollectDoubleToLongIterable

extends AbstractLazyLongIterable
Class Inheritance
Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.block.function.primitive.DoubleToLongFunction, org.eclipse.collections.api.block.procedure.primitive.LongProcedure, org.eclipse.collections.api.iterator.DoubleIterator, .LongIterator

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

Field Summary

Modifier and TypeField and Description
private final DoubleToLongFunction
private final DoubleIterable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
each(final LongProcedure procedure)

Implements org.eclipse.collections.api.LongIterable.each.

A synonym for forEach.

public boolean
public LongIterator
longIterator()

Implements org.eclipse.collections.api.LongIterable.longIterator.

Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.

public boolean
public int
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable:
allSatisfyanySatisfyappendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfyrejectselectsumtaptoArraytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

functionback to summary
private final DoubleToLongFunction function
iterableback to summary
private final DoubleIterable iterable

Constructor Detail

CollectDoubleToLongIterableback to summary
public CollectDoubleToLongIterable(DoubleIterable iterable, DoubleToLongFunction function)

Method Detail

eachback to summary
public void each(final LongProcedure procedure)

Implements org.eclipse.collections.api.LongIterable.each.

Doc from org.eclipse.collections.api.LongIterable.each.

A synonym for forEach.

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable.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
longIteratorback to summary
public LongIterator longIterator()

Implements org.eclipse.collections.api.LongIterable.longIterator.

Doc from org.eclipse.collections.api.LongIterable.longIterator.

Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

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