BooleanIterable
, PrimitiveIterable
AbstractMutableBooleanValuesMap
public abstract class AbstractBooleanIterable extends Object implements BooleanIterable
Constructor | Description |
---|---|
AbstractBooleanIterable() |
Modifier and Type | Method | Description |
---|---|---|
LazyBooleanIterable |
asLazy() |
Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.
|
boolean |
containsAll(boolean... source) |
Returns true if the all of the values specified in the source array are contained
in the BooleanIterable, and false if they are not.
|
boolean |
containsAll(BooleanIterable source) |
Returns true if the all of the values specified in the source BooleanIterable are contained
in the BooleanIterable, and false if they are not.
|
MutableBooleanBag |
toBag() |
Converts the BooleanIterable to a new MutableBooleanBag.
|
MutableBooleanList |
toList() |
Converts the BooleanIterable to a new MutableBooleanList.
|
MutableBooleanSet |
toSet() |
Converts the BooleanIterable to a new MutableBooleanSet.
|
String |
toString() |
Returns a string with the elements of this iterable separated by commas with spaces and
enclosed in square brackets.
|
allSatisfy, anySatisfy, booleanIterator, chunk, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, reject, select, select, tap, toArray
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
public String toString()
PrimitiveIterable
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());
toString
in interface PrimitiveIterable
toString
in class Object
AbstractCollection.toString()
public LazyBooleanIterable asLazy()
BooleanIterable
asLazy
in interface BooleanIterable
public MutableBooleanList toList()
BooleanIterable
toList
in interface BooleanIterable
public MutableBooleanSet toSet()
BooleanIterable
toSet
in interface BooleanIterable
public MutableBooleanBag toBag()
BooleanIterable
toBag
in interface BooleanIterable
public boolean containsAll(boolean... source)
BooleanIterable
containsAll
in interface BooleanIterable
public boolean containsAll(BooleanIterable source)
BooleanIterable
containsAll
in interface BooleanIterable
Copyright © 2004–2019. All rights reserved.