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

public Class TapShortIterable

extends AbstractLazyShortIterable
Class Inheritance
Imports
org.eclipse.collections.api.ShortIterable, org.eclipse.collections.api.block.predicate.primitive.ShortPredicate, org.eclipse.collections.api.block.procedure.primitive.ShortProcedure, org.eclipse.collections.api.iterator.ShortIterator

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 ShortIterable
private final ShortProcedure

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Implements org.eclipse.collections.api.ShortIterable.allSatisfy.

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

public boolean
anySatisfy(ShortPredicate predicate)

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

Implements org.eclipse.collections.api.ShortIterable.anySatisfy.

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

public short
public void
each(ShortProcedure procedure)

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

A synonym for forEach.

public boolean
noneSatisfy(ShortPredicate predicate)

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

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

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

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.

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

Field Detail

adaptedback to summary
private final ShortIterable adapted
procedureback to summary
private final ShortProcedure procedure

Constructor Detail

TapShortIterableback to summary
public TapShortIterable(ShortIterable delegate, ShortProcedure procedure)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(ShortPredicate predicate)

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

Implements org.eclipse.collections.api.ShortIterable.allSatisfy.

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

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

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

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

Implements org.eclipse.collections.api.ShortIterable.anySatisfy.

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

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

Annotations
@Override
detectIfNoneback to summary
public short detectIfNone(ShortPredicate predicate, short ifNone)

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

Implements org.eclipse.collections.api.ShortIterable.detectIfNone.

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

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

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

A synonym for forEach.

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

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

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

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

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

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
org.eclipse.collections.impl.lazy.primitive back to summary

public Class TapShortIterable.TapShortIterator

extends Object
implements ShortIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.TapShortIterable.TapShortIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.ShortIterator

Field Summary

Modifier and TypeField and Description
private final ShortIterator
private final ShortProcedure

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

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

Field Detail

iteratorback to summary
private final ShortIterator iterator
procedureback to summary
private final ShortProcedure procedure

Constructor Detail

TapShortIteratorback to summary
public TapShortIterator(ShortIterable iterable, ShortProcedure procedure)
TapShortIteratorback to summary
public TapShortIterator(ShortIterator iterator, ShortProcedure procedure)

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public short next()

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

Annotations
@Override