BooleanIterable
, LazyBooleanIterable
, PrimitiveIterable
public 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, toString
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, select
public ReverseBooleanIterable(BooleanList newAdapted)
public static ReverseBooleanIterable adapt(BooleanList booleanList)
public BooleanIterator booleanIterator()
BooleanIterable
public void each(BooleanProcedure procedure)
BooleanIterable
public boolean[] toArray()
BooleanIterable
toArray
in interface BooleanIterable
toArray
in class AbstractLazyBooleanIterable
public boolean contains(boolean value)
BooleanIterable
contains
in interface BooleanIterable
contains
in class AbstractLazyBooleanIterable
public boolean containsAll(boolean... source)
BooleanIterable
containsAll
in interface BooleanIterable
containsAll
in class AbstractLazyBooleanIterable
public boolean containsAll(BooleanIterable source)
BooleanIterable
containsAll
in interface BooleanIterable
containsAll
in class AbstractLazyBooleanIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyBooleanIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyBooleanIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyBooleanIterable
public MutableBooleanList toList()
BooleanIterable
toList
in interface BooleanIterable
toList
in class AbstractLazyBooleanIterable
public MutableBooleanSet toSet()
BooleanIterable
toSet
in interface BooleanIterable
toSet
in class AbstractLazyBooleanIterable
public MutableBooleanBag toBag()
BooleanIterable
toBag
in interface BooleanIterable
toBag
in class AbstractLazyBooleanIterable
public LazyBooleanIterable asLazy()
BooleanIterable
asLazy
in interface BooleanIterable
asLazy
in class AbstractLazyBooleanIterable
Copyright © 2004–2019. All rights reserved.