Class AbstractBooleanIterable
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractBooleanIterable
-
- All Implemented Interfaces:
BooleanIterable,PrimitiveIterable
- Direct Known Subclasses:
AbstractMutableBooleanValuesMap
public abstract class AbstractBooleanIterable extends java.lang.Object implements BooleanIterable
This file was automatically generated from template file abstractPrimitiveIterable.stg.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description AbstractBooleanIterable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyBooleanIterableasLazy()Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.MutableBooleanBagtoBag()Converts the BooleanIterable to a new MutableBooleanBag.MutableBooleanListtoList()Converts the BooleanIterable to a new MutableBooleanList.MutableBooleanSettoSet()Converts the BooleanIterable to a new MutableBooleanSet.java.lang.StringtoString()Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.-
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.BooleanIterable
allSatisfy, anySatisfy, booleanIterator, chunk, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, noneSatisfy, reduce, reduceIfEmpty, reject, reject, select, select, tap, toArray, toArray
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Description copied from interface:PrimitiveIterableReturns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.Assert.assertEquals("[]", IntLists.mutable.empty().toString()); Assert.assertEquals("[1]", IntLists.mutable.with(1).toString()); Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of this PrimitiveIterable
- See Also:
AbstractCollection.toString()
-
asLazy
public LazyBooleanIterable asLazy()
Description copied from interface:BooleanIterableReturns a LazyBooleanIterable adapter wrapping the source BooleanIterable.- Specified by:
asLazyin interfaceBooleanIterable
-
toList
public MutableBooleanList toList()
Description copied from interface:BooleanIterableConverts the BooleanIterable to a new MutableBooleanList.- Specified by:
toListin interfaceBooleanIterable
-
toSet
public MutableBooleanSet toSet()
Description copied from interface:BooleanIterableConverts the BooleanIterable to a new MutableBooleanSet.- Specified by:
toSetin interfaceBooleanIterable
-
toBag
public MutableBooleanBag toBag()
Description copied from interface:BooleanIterableConverts the BooleanIterable to a new MutableBooleanBag.- Specified by:
toBagin interfaceBooleanIterable
-
-