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

public Class TapDoubleIterable

extends AbstractLazyDoubleIterable
Class Inheritance
Imports
org.eclipse.collections.api.DoubleIterable, org.eclipse.collections.api.block.predicate.primitive.DoublePredicate, org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure, org.eclipse.collections.api.iterator.DoubleIterator

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 DoubleIterable
private final DoubleProcedure

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Implements org.eclipse.collections.api.DoubleIterable.allSatisfy.

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

public boolean
anySatisfy(DoublePredicate predicate)

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

Implements org.eclipse.collections.api.DoubleIterable.anySatisfy.

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

public double
public DoubleIterator
doubleIterator()

Implements org.eclipse.collections.api.DoubleIterable.doubleIterator.

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

public void
each(DoubleProcedure procedure)

Implements org.eclipse.collections.api.DoubleIterable.each.

A synonym for forEach.

public boolean
noneSatisfy(DoublePredicate predicate)

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

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

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

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

Field Detail

adaptedback to summary
private final DoubleIterable adapted
procedureback to summary
private final DoubleProcedure procedure

Constructor Detail

TapDoubleIterableback to summary
public TapDoubleIterable(DoubleIterable delegate, DoubleProcedure procedure)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(DoublePredicate predicate)

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

Implements org.eclipse.collections.api.DoubleIterable.allSatisfy.

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

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

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

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

Implements org.eclipse.collections.api.DoubleIterable.anySatisfy.

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

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

Annotations
@Override
detectIfNoneback to summary
public double detectIfNone(DoublePredicate predicate, double ifNone)

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

Implements org.eclipse.collections.api.DoubleIterable.detectIfNone.

Annotations
@Override
doubleIteratorback to summary
public DoubleIterator doubleIterator()

Implements org.eclipse.collections.api.DoubleIterable.doubleIterator.

Doc from org.eclipse.collections.api.DoubleIterable.doubleIterator.

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

Annotations
@Override
eachback to summary
public void each(DoubleProcedure procedure)

Implements org.eclipse.collections.api.DoubleIterable.each.

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

A synonym for forEach.

Annotations
@Override
noneSatisfyback to summary
public boolean noneSatisfy(DoublePredicate predicate)

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

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

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

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

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

public Class TapDoubleIterable.TapDoubleIterator

extends Object
implements DoubleIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.TapDoubleIterable.TapDoubleIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.DoubleIterator

Field Summary

Modifier and TypeField and Description
private final DoubleIterator
private final DoubleProcedure

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

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

Field Detail

iteratorback to summary
private final DoubleIterator iterator
procedureback to summary
private final DoubleProcedure procedure

Constructor Detail

TapDoubleIteratorback to summary
public TapDoubleIterator(DoubleIterable iterable, DoubleProcedure procedure)
TapDoubleIteratorback to summary
public TapDoubleIterator(DoubleIterator iterator, DoubleProcedure procedure)

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public double next()

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

Annotations
@Override