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

public Class TapIntIterable

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

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final IntIterable
private final IntProcedure

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
allSatisfy(IntPredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable.allSatisfy.

Implements org.eclipse.collections.api.IntIterable.allSatisfy.

Returns true if all of the elements in the IntIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(IntPredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable.anySatisfy.

Implements org.eclipse.collections.api.IntIterable.anySatisfy.

Returns true if any of the elements in the IntIterable return true for the specified predicate, otherwise returns false.

public int
public void
each(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
noneSatisfy(IntPredicate predicate)

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

Overrides default org.eclipse.collections.api.IntIterable.noneSatisfy.

Returns true if none of the elements in the IntIterable return true for the specified predicate, otherwise returns false.

Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable:
appendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcountflatCollectinjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynotEmptyrejectselectsizesumtaptoArraytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

adaptedback to summary
private final IntIterable adapted
procedureback to summary
private final IntProcedure procedure

Constructor Detail

TapIntIterableback to summary
public TapIntIterable(IntIterable delegate, IntProcedure procedure)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(IntPredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable.allSatisfy.

Implements org.eclipse.collections.api.IntIterable.allSatisfy.

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

Returns true if all of the elements in the IntIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
anySatisfyback to summary
public boolean anySatisfy(IntPredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable.anySatisfy.

Implements org.eclipse.collections.api.IntIterable.anySatisfy.

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

Returns true if any of the elements in the IntIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
detectIfNoneback to summary
public int detectIfNone(IntPredicate predicate, int ifNone)

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

Implements org.eclipse.collections.api.IntIterable.detectIfNone.

Annotations
@Override
eachback to summary
public void each(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
noneSatisfyback to summary
public boolean noneSatisfy(IntPredicate predicate)

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

Overrides default org.eclipse.collections.api.IntIterable.noneSatisfy.

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

Returns true if none of the elements in the IntIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
org.eclipse.collections.impl.lazy.primitive back to summary

public Class TapIntIterable.TapIntIterator

extends Object
implements IntIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.TapIntIterable.TapIntIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.IntIterator

Field Summary

Modifier and TypeField and Description
private final IntIterator
private final IntProcedure

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

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

Field Detail

iteratorback to summary
private final IntIterator iterator
procedureback to summary
private final IntProcedure procedure

Constructor Detail

TapIntIteratorback to summary
public TapIntIterator(IntIterable iterable, IntProcedure procedure)
TapIntIteratorback to summary
public TapIntIterator(IntIterator iterator, IntProcedure procedure)

Method Detail

hasNextback to summary
public boolean hasNext()

Implements org.eclipse.collections.api.iterator.IntIterator.hasNext.

Annotations
@Override
nextback to summary
public int next()

Implements org.eclipse.collections.api.iterator.IntIterator.next.

Annotations
@Override