public class ReverseBooleanIterable extends AbstractLazyBooleanIterable
ReverseIterable
Constructor and Description |
---|
ReverseBooleanIterable(BooleanList newAdapted) |
Modifier and Type | Method and Description |
---|---|
static ReverseBooleanIterable |
adapt(BooleanList booleanList) |
LazyBooleanIterable |
asLazy() |
BooleanIterator |
booleanIterator() |
boolean |
contains(boolean value) |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(BooleanIterable source) |
void |
each(BooleanProcedure procedure) |
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() |
MutableBooleanBag |
toBag() |
MutableBooleanList |
toList() |
MutableBooleanSet |
toSet() |
allSatisfy, anySatisfy, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toString
public ReverseBooleanIterable(BooleanList newAdapted)
public static ReverseBooleanIterable adapt(BooleanList booleanList)
public BooleanIterator booleanIterator()
public void each(BooleanProcedure procedure)
public boolean[] toArray()
toArray
in interface BooleanIterable
toArray
in class AbstractLazyBooleanIterable
public boolean contains(boolean value)
contains
in interface BooleanIterable
contains
in class AbstractLazyBooleanIterable
public boolean containsAll(boolean... source)
containsAll
in interface BooleanIterable
containsAll
in class AbstractLazyBooleanIterable
public boolean containsAll(BooleanIterable source)
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()
toList
in interface BooleanIterable
toList
in class AbstractLazyBooleanIterable
public MutableBooleanSet toSet()
toSet
in interface BooleanIterable
toSet
in class AbstractLazyBooleanIterable
public MutableBooleanBag toBag()
toBag
in interface BooleanIterable
toBag
in class AbstractLazyBooleanIterable
public LazyBooleanIterable asLazy()
asLazy
in interface BooleanIterable
asLazy
in class AbstractLazyBooleanIterable
Copyright © 2004–2016. All rights reserved.