BooleanIterable, LazyBooleanIterable, PrimitiveIterablepublic class ReverseBooleanIterable extends AbstractLazyBooleanIterable
ReverseIterable| Constructor | Description |
|---|---|
ReverseBooleanIterable(BooleanList newAdapted) |
| Modifier and Type | Method | Description |
|---|---|---|
static ReverseBooleanIterable |
adapt(BooleanList booleanList) |
|
LazyBooleanIterable |
asLazy() |
Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.
|
BooleanIterator |
booleanIterator() |
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an
imperative style.
|
boolean |
contains(boolean value) |
Returns true if the value is contained in the BooleanIterable, and false if it is not.
|
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.
|
void |
each(BooleanProcedure procedure) |
A synonym for forEach.
|
boolean |
isEmpty() |
Returns true if this iterable has zero items.
|
boolean |
notEmpty() |
The English equivalent of !this.isEmpty()
|
int |
size() |
Returns the number of items in this iterable.
|
boolean[] |
toArray() |
Converts the BooleanIterable to a primitive boolean array.
|
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.
|
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toStringcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, selectpublic ReverseBooleanIterable(BooleanList newAdapted)
public static ReverseBooleanIterable adapt(BooleanList booleanList)
public BooleanIterator booleanIterator()
BooleanIterablepublic void each(BooleanProcedure procedure)
BooleanIterablepublic boolean[] toArray()
BooleanIterabletoArray in interface BooleanIterabletoArray in class AbstractLazyBooleanIterablepublic boolean contains(boolean value)
BooleanIterablecontains in interface BooleanIterablecontains in class AbstractLazyBooleanIterablepublic boolean containsAll(boolean... source)
BooleanIterablecontainsAll in interface BooleanIterablecontainsAll in class AbstractLazyBooleanIterablepublic boolean containsAll(BooleanIterable source)
BooleanIterablecontainsAll in interface BooleanIterablecontainsAll in class AbstractLazyBooleanIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyBooleanIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyBooleanIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyBooleanIterablepublic MutableBooleanList toList()
BooleanIterabletoList in interface BooleanIterabletoList in class AbstractLazyBooleanIterablepublic MutableBooleanSet toSet()
BooleanIterabletoSet in interface BooleanIterabletoSet in class AbstractLazyBooleanIterablepublic MutableBooleanBag toBag()
BooleanIterabletoBag in interface BooleanIterabletoBag in class AbstractLazyBooleanIterablepublic LazyBooleanIterable asLazy()
BooleanIterableasLazy in interface BooleanIterableasLazy in class AbstractLazyBooleanIterableCopyright © 2004–2020. All rights reserved.