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

public Class TapCharIterable

extends AbstractLazyCharIterable
Class Inheritance
Imports
org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.block.predicate.primitive.CharPredicate, org.eclipse.collections.api.block.procedure.primitive.CharProcedure, org.eclipse.collections.api.iterator.CharIterator

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 CharIterable
private final CharProcedure

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Implements org.eclipse.collections.api.CharIterable.allSatisfy.

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

public boolean
anySatisfy(CharPredicate predicate)

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

Implements org.eclipse.collections.api.CharIterable.anySatisfy.

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

public CharIterator
charIterator()

Implements org.eclipse.collections.api.CharIterable.charIterator.

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

public char
public void
each(CharProcedure procedure)

Implements org.eclipse.collections.api.CharIterable.each.

A synonym for forEach.

public boolean
noneSatisfy(CharPredicate predicate)

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

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

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

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

Field Detail

adaptedback to summary
private final CharIterable adapted
procedureback to summary
private final CharProcedure procedure

Constructor Detail

TapCharIterableback to summary
public TapCharIterable(CharIterable delegate, CharProcedure procedure)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(CharPredicate predicate)

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

Implements org.eclipse.collections.api.CharIterable.allSatisfy.

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

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

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

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

Implements org.eclipse.collections.api.CharIterable.anySatisfy.

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

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

Annotations
@Override
charIteratorback to summary
public CharIterator charIterator()

Implements org.eclipse.collections.api.CharIterable.charIterator.

Doc from org.eclipse.collections.api.CharIterable.charIterator.

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

Annotations
@Override
detectIfNoneback to summary
public char detectIfNone(CharPredicate predicate, char ifNone)

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

Implements org.eclipse.collections.api.CharIterable.detectIfNone.

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

Implements org.eclipse.collections.api.CharIterable.each.

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

A synonym for forEach.

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

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

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

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

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

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

public Class TapCharIterable.TapCharIterator

extends Object
implements CharIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.TapCharIterable.TapCharIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.CharIterator

Field Summary

Modifier and TypeField and Description
private final CharIterator
private final CharProcedure

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

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

Field Detail

iteratorback to summary
private final CharIterator iterator
procedureback to summary
private final CharProcedure procedure

Constructor Detail

TapCharIteratorback to summary
public TapCharIterator(CharIterable iterable, CharProcedure procedure)
TapCharIteratorback to summary
public TapCharIterator(CharIterator iterator, CharProcedure procedure)

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public char next()

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

Annotations
@Override