public abstract class AbstractBooleanIterable extends Object implements BooleanIterable
| Constructor and Description |
|---|
AbstractBooleanIterable() |
| Modifier and Type | Method and 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.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitallSatisfy, anySatisfy, booleanIterator, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reject, reject, select, select, toArrayappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizepublic 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 PrimitiveIterabletoString in class ObjectAbstractCollection.toString()public LazyBooleanIterable asLazy()
BooleanIterableasLazy in interface BooleanIterablepublic MutableBooleanList toList()
BooleanIterabletoList in interface BooleanIterablepublic MutableBooleanSet toSet()
BooleanIterabletoSet in interface BooleanIterablepublic MutableBooleanBag toBag()
BooleanIterabletoBag in interface BooleanIterablepublic boolean containsAll(boolean... source)
BooleanIterablecontainsAll in interface BooleanIterablepublic boolean containsAll(BooleanIterable source)
BooleanIterablecontainsAll in interface BooleanIterableCopyright © 2004–2017. All rights reserved.