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

public Class CollectIntToIntIterable

extends AbstractLazyIntIterable
Class Inheritance
Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.block.function.primitive.IntToIntFunction, org.eclipse.collections.api.block.procedure.primitive.IntProcedure, org.eclipse.collections.api.iterator.IntIterator

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

Field Summary

Modifier and TypeField and Description
private final IntToIntFunction
private final IntIterable

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.eclipse.collections.api.IntIterable.each.

A synonym for forEach.

public IntIterator
intIterator()

Implements org.eclipse.collections.api.IntIterable.intIterator.

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

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

Field Detail

functionback to summary
private final IntToIntFunction function
iterableback to summary
private final IntIterable iterable

Constructor Detail

CollectIntToIntIterableback to summary
public CollectIntToIntIterable(IntIterable iterable, IntToIntFunction function)

Method Detail

eachback to summary
public void each(final IntProcedure procedure)

Implements org.eclipse.collections.api.IntIterable.each.

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

A synonym for forEach.

Annotations
@Override
intIteratorback to summary
public IntIterator intIterator()

Implements org.eclipse.collections.api.IntIterable.intIterator.

Doc from org.eclipse.collections.api.IntIterable.intIterator.

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

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

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