Class TapShortIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyShortIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapShortIterable
-
- All Implemented Interfaces:
LazyShortIterable,PrimitiveIterable,ShortIterable
public class TapShortIterable extends AbstractLazyShortIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTapShortIterable.TapShortIterator
-
Field Summary
Fields Modifier and Type Field Description private ShortIterableadaptedprivate ShortProcedureprocedure
-
Constructor Summary
Constructors Constructor Description TapShortIterable(ShortIterable delegate, ShortProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(ShortPredicate predicate)Returns true if all of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(ShortPredicate predicate)Returns true if any of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.shortdetectIfNone(ShortPredicate predicate, short ifNone)voideach(ShortProcedure procedure)A synonym for forEach.booleannoneSatisfy(ShortPredicate predicate)Returns true if none of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.ShortIteratorshortIterator()Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyShortIterable
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.ShortIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Field Detail
-
adapted
private final ShortIterable adapted
-
procedure
private final ShortProcedure procedure
-
-
Constructor Detail
-
TapShortIterable
public TapShortIterable(ShortIterable delegate, ShortProcedure procedure)
-
-
Method Detail
-
each
public void each(ShortProcedure procedure)
Description copied from interface:ShortIterableA synonym for forEach.
-
anySatisfy
public boolean anySatisfy(ShortPredicate predicate)
Description copied from interface:ShortIterableReturns true if any of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceShortIterable- Overrides:
anySatisfyin classAbstractLazyShortIterable
-
allSatisfy
public boolean allSatisfy(ShortPredicate predicate)
Description copied from interface:ShortIterableReturns true if all of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceShortIterable- Overrides:
allSatisfyin classAbstractLazyShortIterable
-
noneSatisfy
public boolean noneSatisfy(ShortPredicate predicate)
Description copied from interface:ShortIterableReturns true if none of the elements in the ShortIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceShortIterable- Overrides:
noneSatisfyin classAbstractLazyShortIterable
-
detectIfNone
public short detectIfNone(ShortPredicate predicate, short ifNone)
- Specified by:
detectIfNonein interfaceShortIterable- Overrides:
detectIfNonein classAbstractLazyShortIterable
-
shortIterator
public ShortIterator shortIterator()
Description copied from interface:ShortIterableReturns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.
-
-