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

public Class CollectCharToCharIterable

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

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

Field Summary

Modifier and TypeField and Description
private final CharToCharFunction
private final CharIterable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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 void
each(final CharProcedure procedure)

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

A synonym for forEach.

public boolean
public boolean
public int
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable:
allSatisfyanySatisfyappendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfyrejectselectsumtaptoArraytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

functionback to summary
private final CharToCharFunction function
iterableback to summary
private final CharIterable iterable

Constructor Detail

CollectCharToCharIterableback to summary
public CollectCharToCharIterable(CharIterable iterable, CharToCharFunction function)

Method Detail

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
eachback to summary
public void each(final CharProcedure procedure)

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

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

A synonym for forEach.

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

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

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

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

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

Annotations
@Override
sizeback to summary
public int size()

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

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Doc from org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

Annotations
@Override