Class CollectLongToBooleanIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
org.eclipse.collections.impl.lazy.primitive.CollectLongToBooleanIterable
- All Implemented Interfaces:
BooleanIterable,LazyBooleanIterable,PrimitiveIterable
public class CollectLongToBooleanIterable extends AbstractLazyBooleanIterable
This file was automatically generated from template file collectPrimitiveToPrimitiveIterable.stg.
-
Constructor Summary
Constructors Constructor Description CollectLongToBooleanIterable(LongIterable iterable, LongToBooleanFunction function) -
Method Summary
Modifier and Type Method Description BooleanIteratorbooleanIterator()Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.voideach(BooleanProcedure procedure)A synonym for forEach.booleanisEmpty()Returns true if this iterable has zero items.booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toArray, toBag, toList, toSet, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, select, toArray
-
Constructor Details
-
Method Details
-
each
Description copied from interface:BooleanIterableA synonym for forEach. -
booleanIterator
Description copied from interface:BooleanIterableReturns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style. -
size
public int size()Description copied from interface:PrimitiveIterableReturns the number of items in this iterable.- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyBooleanIterable
-
isEmpty
public boolean isEmpty()Description copied from interface:PrimitiveIterableReturns true if this iterable has zero items.- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyBooleanIterable
-
notEmpty
public boolean notEmpty()Description copied from interface:PrimitiveIterableThe English equivalent of !this.isEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyBooleanIterable
-