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

public Class CollectBooleanToShortIterable

extends AbstractLazyShortIterable
Class Inheritance
Imports
org.eclipse.collections.api.BooleanIterable, org.eclipse.collections.api.block.function.primitive.BooleanToShortFunction, org.eclipse.collections.api.block.procedure.primitive.ShortProcedure, org.eclipse.collections.api.iterator.BooleanIterator, .ShortIterator

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

Field Summary

Modifier and TypeField and Description
private final BooleanToShortFunction
private final BooleanIterable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
each(final ShortProcedure procedure)

Implements org.eclipse.collections.api.ShortIterable.each.

A synonym for forEach.

public boolean
public boolean
public ShortIterator
shortIterator()

Implements org.eclipse.collections.api.ShortIterable.shortIterator.

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

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

Field Detail

functionback to summary
private final BooleanToShortFunction function
iterableback to summary
private final BooleanIterable iterable

Constructor Detail

CollectBooleanToShortIterableback to summary
public CollectBooleanToShortIterable(BooleanIterable iterable, BooleanToShortFunction function)

Method Detail

eachback to summary
public void each(final ShortProcedure procedure)

Implements org.eclipse.collections.api.ShortIterable.each.

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

A synonym for forEach.

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyShortIterable.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.AbstractLazyShortIterable.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
shortIteratorback to summary
public ShortIterator shortIterator()

Implements org.eclipse.collections.api.ShortIterable.shortIterator.

Doc from org.eclipse.collections.api.ShortIterable.shortIterator.

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

Annotations
@Override
sizeback to summary
public int size()

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