public class SynchronizedBooleanIterable extends Object implements org.eclipse.collections.api.BooleanIterable, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyBooleanIterable |
asLazy() |
org.eclipse.collections.api.iterator.BooleanIterator |
booleanIterator()
Must be called in a synchronized block.
|
<V> org.eclipse.collections.api.RichIterable<V> |
collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(org.eclipse.collections.api.BooleanIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate,
boolean ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
notEmpty() |
static SynchronizedBooleanIterable |
of(org.eclipse.collections.api.BooleanIterable iterable)
This method will take a BooleanIterable and wrap it directly in a SynchronizedBooleanIterable.
|
static SynchronizedBooleanIterable |
of(org.eclipse.collections.api.BooleanIterable iterable,
Object lock)
This method will take a BooleanIterable and wrap it directly in a SynchronizedBooleanIterable.
|
org.eclipse.collections.api.BooleanIterable |
reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
org.eclipse.collections.api.BooleanIterable |
select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
int |
size() |
boolean[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
toBag() |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
toList() |
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
toSet() |
String |
toString() |
public static SynchronizedBooleanIterable of(org.eclipse.collections.api.BooleanIterable iterable)
public static SynchronizedBooleanIterable of(org.eclipse.collections.api.BooleanIterable iterable, Object lock)
public boolean[] toArray()
toArray in interface org.eclipse.collections.api.BooleanIterablepublic boolean contains(boolean value)
contains in interface org.eclipse.collections.api.BooleanIterablepublic boolean containsAll(boolean... source)
containsAll in interface org.eclipse.collections.api.BooleanIterablepublic boolean containsAll(org.eclipse.collections.api.BooleanIterable source)
containsAll in interface org.eclipse.collections.api.BooleanIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure)
forEach in interface org.eclipse.collections.api.BooleanIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure)
each in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.BooleanIterable select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.BooleanIterable reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface org.eclipse.collections.api.BooleanIterablepublic <V> org.eclipse.collections.api.RichIterable<V> collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.BooleanIterablepublic boolean detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate,
boolean ifNone)
detectIfNone in interface org.eclipse.collections.api.BooleanIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
count in interface org.eclipse.collections.api.BooleanIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.BooleanIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.BooleanIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.list.primitive.MutableBooleanList toList()
toList in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.set.primitive.MutableBooleanSet toSet()
toSet in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.bag.primitive.MutableBooleanBag toBag()
toBag in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.LazyBooleanIterable asLazy()
asLazy in interface org.eclipse.collections.api.BooleanIterablepublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.BooleanIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.iterator.BooleanIterator booleanIterator()
booleanIterator in interface org.eclipse.collections.api.BooleanIterableCopyright © 2004–2018. All rights reserved.