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

public Class TapLongIterable

extends AbstractLazyLongIterable
Class Inheritance
Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.block.predicate.primitive.LongPredicate, org.eclipse.collections.api.block.procedure.primitive.LongProcedure, org.eclipse.collections.api.iterator.LongIterator

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 LongIterable
private final LongProcedure

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Implements org.eclipse.collections.api.LongIterable.allSatisfy.

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

public boolean
anySatisfy(LongPredicate predicate)

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

Implements org.eclipse.collections.api.LongIterable.anySatisfy.

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

public long
public void
each(LongProcedure procedure)

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

A synonym for forEach.

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
noneSatisfy(LongPredicate predicate)

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

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

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

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

Field Detail

adaptedback to summary
private final LongIterable adapted
procedureback to summary
private final LongProcedure procedure

Constructor Detail

TapLongIterableback to summary
public TapLongIterable(LongIterable delegate, LongProcedure procedure)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(LongPredicate predicate)

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

Implements org.eclipse.collections.api.LongIterable.allSatisfy.

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

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

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

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

Implements org.eclipse.collections.api.LongIterable.anySatisfy.

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

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

Annotations
@Override
detectIfNoneback to summary
public long detectIfNone(LongPredicate predicate, long ifNone)

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

Implements org.eclipse.collections.api.LongIterable.detectIfNone.

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

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

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

A synonym for forEach.

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
noneSatisfyback to summary
public boolean noneSatisfy(LongPredicate predicate)

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

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

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

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

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

public Class TapLongIterable.TapLongIterator

extends Object
implements LongIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.TapLongIterable.TapLongIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.LongIterator

Field Summary

Modifier and TypeField and Description
private final LongIterator
private final LongProcedure

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

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

Field Detail

iteratorback to summary
private final LongIterator iterator
procedureback to summary
private final LongProcedure procedure

Constructor Detail

TapLongIteratorback to summary
public TapLongIterator(LongIterable iterable, LongProcedure procedure)
TapLongIteratorback to summary
public TapLongIterator(LongIterator iterator, LongProcedure procedure)

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public long next()

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

Annotations
@Override