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

public Class CollectCharToByteIterable

extends AbstractLazyByteIterable
Class Inheritance
Imports
org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.block.function.primitive.CharToByteFunction, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.iterator.CharIterator, .ByteIterator

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

Field Summary

Modifier and TypeField and Description
private final CharToByteFunction
private final CharIterable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ByteIterator
byteIterator()

Implements org.eclipse.collections.api.ByteIterable.byteIterator.

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

public void
each(final ByteProcedure procedure)

Implements org.eclipse.collections.api.ByteIterable.each.

A synonym for forEach.

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

Field Detail

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

Constructor Detail

CollectCharToByteIterableback to summary
public CollectCharToByteIterable(CharIterable iterable, CharToByteFunction function)

Method Detail

byteIteratorback to summary
public ByteIterator byteIterator()

Implements org.eclipse.collections.api.ByteIterable.byteIterator.

Doc from org.eclipse.collections.api.ByteIterable.byteIterator.

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

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

Implements org.eclipse.collections.api.ByteIterable.each.

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

A synonym for forEach.

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.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.AbstractLazyByteIterable.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.AbstractLazyByteIterable.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