@ThreadSafe public final class SynchronizedBooleanList extends AbstractSynchronizedBooleanCollection implements org.eclipse.collections.api.list.primitive.MutableBooleanList
MutableBooleanList. It is imperative that the user manually synchronize on the collection when iterating over it using the
BooleanIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableBooleanList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
boolean... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.BooleanIterable source) |
void |
addAtIndex(int index,
boolean element) |
org.eclipse.collections.api.LazyBooleanIterable |
asLazy() |
org.eclipse.collections.api.LazyBooleanIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
asUnmodifiable() |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
distinct() |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.BooleanIntProcedure procedure) |
boolean |
get(int index) |
boolean |
getFirst() |
boolean |
getLast() |
int |
hashCode() |
int |
indexOf(boolean value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectBooleanIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(boolean value) |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
set(int index,
boolean element) |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableBooleanList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
toReversed() |
SynchronizedBooleanList |
with(boolean element) |
SynchronizedBooleanList |
withAll(org.eclipse.collections.api.BooleanIterable elements) |
SynchronizedBooleanList |
without(boolean element) |
SynchronizedBooleanList |
withoutAll(org.eclipse.collections.api.BooleanIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, booleanIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toBag, toList, toSet, toStringadd, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, retainAll, retainAllpublic boolean get(int index)
get in interface org.eclipse.collections.api.list.primitive.BooleanListpublic boolean getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterablepublic boolean getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablepublic int indexOf(boolean value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterablepublic int lastIndexOf(boolean value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.BooleanListpublic void addAtIndex(int index,
boolean element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableBooleanListpublic boolean addAllAtIndex(int index,
boolean... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableBooleanListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.BooleanIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableBooleanListpublic boolean removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableBooleanListpublic boolean set(int index,
boolean element)
set in interface org.eclipse.collections.api.list.primitive.MutableBooleanListpublic SynchronizedBooleanList with(boolean element)
with in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableBooleanListwith in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanList without(boolean element)
without in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableBooleanListwithout in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanList withAll(org.eclipse.collections.api.BooleanIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableBooleanListwithAll in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanList withoutAll(org.eclipse.collections.api.BooleanIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableBooleanListwithoutAll in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.list.primitive.MutableBooleanList select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface org.eclipse.collections.api.BooleanIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionselect in interface org.eclipse.collections.api.list.primitive.BooleanListselect in interface org.eclipse.collections.api.list.primitive.MutableBooleanListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterableselect in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.list.primitive.MutableBooleanList reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface org.eclipse.collections.api.BooleanIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionreject in interface org.eclipse.collections.api.list.primitive.BooleanListreject in interface org.eclipse.collections.api.list.primitive.MutableBooleanListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablereject in class AbstractSynchronizedBooleanCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.BooleanIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectioncollect in interface org.eclipse.collections.api.list.primitive.BooleanListcollect in interface org.eclipse.collections.api.list.primitive.MutableBooleanListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablecollect in class AbstractSynchronizedBooleanCollectionpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.LazyBooleanIterable asLazy()
asLazy in interface org.eclipse.collections.api.BooleanIterableasLazy in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.list.primitive.MutableBooleanList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableBooleanListasUnmodifiable in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.list.primitive.MutableBooleanList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableBooleanListasSynchronized in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableBooleanList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.BooleanListtoImmutable in interface org.eclipse.collections.api.list.primitive.MutableBooleanListtoImmutable in class AbstractSynchronizedBooleanCollectionpublic org.eclipse.collections.api.list.primitive.MutableBooleanList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableBooleanListpublic org.eclipse.collections.api.list.primitive.MutableBooleanList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.BooleanListtoReversed in interface org.eclipse.collections.api.list.primitive.MutableBooleanListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablepublic org.eclipse.collections.api.LazyBooleanIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.BooleanIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectBooleanIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablepublic org.eclipse.collections.api.list.primitive.MutableBooleanList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.BooleanListdistinct in interface org.eclipse.collections.api.list.primitive.MutableBooleanListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleBooleanIterablepublic org.eclipse.collections.api.list.primitive.MutableBooleanList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.BooleanListsubList in interface org.eclipse.collections.api.list.primitive.MutableBooleanListCopyright © 2004–2018. All rights reserved.