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

public Class TapBooleanIterable

extends AbstractLazyBooleanIterable
Class Inheritance
Imports
org.eclipse.collections.api.BooleanIterable, org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate, org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure, org.eclipse.collections.api.iterator.BooleanIterator

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 BooleanIterable
private final BooleanProcedure

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Implements org.eclipse.collections.api.BooleanIterable.allSatisfy.

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

public boolean
anySatisfy(BooleanPredicate predicate)

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

Implements org.eclipse.collections.api.BooleanIterable.anySatisfy.

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

public BooleanIterator
booleanIterator()

Implements org.eclipse.collections.api.BooleanIterable.booleanIterator.

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

public boolean
public void
each(BooleanProcedure procedure)

Implements org.eclipse.collections.api.BooleanIterable.each.

A synonym for forEach.

public boolean
noneSatisfy(BooleanPredicate predicate)

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

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

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

Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable:
appendStringappendStringappendStringasLazychunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcountflatCollectinjectIntoisEmptymakeStringmakeStringmakeStringnotEmptyrejectselectsizetaptoArraytoBagtoListtoSettoString

Field Detail

adaptedback to summary
private final BooleanIterable adapted
procedureback to summary
private final BooleanProcedure procedure

Constructor Detail

TapBooleanIterableback to summary
public TapBooleanIterable(BooleanIterable delegate, BooleanProcedure procedure)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(BooleanPredicate predicate)

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

Implements org.eclipse.collections.api.BooleanIterable.allSatisfy.

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

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

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

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

Implements org.eclipse.collections.api.BooleanIterable.anySatisfy.

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

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

Annotations
@Override
booleanIteratorback to summary
public BooleanIterator booleanIterator()

Implements org.eclipse.collections.api.BooleanIterable.booleanIterator.

Doc from org.eclipse.collections.api.BooleanIterable.booleanIterator.

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

Annotations
@Override
detectIfNoneback to summary
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)

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

Implements org.eclipse.collections.api.BooleanIterable.detectIfNone.

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

Implements org.eclipse.collections.api.BooleanIterable.each.

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

A synonym for forEach.

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

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

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

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

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

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

public Class TapBooleanIterable.TapBooleanIterator

extends Object
implements BooleanIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.TapBooleanIterable.TapBooleanIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.BooleanIterator

Field Summary

Modifier and TypeField and Description
private final BooleanIterator
private final BooleanProcedure

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

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

Field Detail

iteratorback to summary
private final BooleanIterator iterator
procedureback to summary
private final BooleanProcedure procedure

Constructor Detail

TapBooleanIteratorback to summary
public TapBooleanIterator(BooleanIterable iterable, BooleanProcedure procedure)
TapBooleanIteratorback to summary
public TapBooleanIterator(BooleanIterator iterator, BooleanProcedure procedure)

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public boolean next()

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

Annotations
@Override