@ThreadSafe public final class SynchronizedBooleanList extends AbstractSynchronizedBooleanCollection implements com.gs.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,
com.gs.collections.api.BooleanIterable source) |
void |
addAtIndex(int index,
boolean element) |
com.gs.collections.api.LazyBooleanIterable |
asLazy() |
com.gs.collections.api.LazyBooleanIterable |
asReversed() |
com.gs.collections.api.list.primitive.MutableBooleanList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableBooleanList |
asUnmodifiable() |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
boolean |
equals(java.lang.Object otherList)
Follows the same general contract as
List.equals(Object). |
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.BooleanIntProcedure procedure) |
boolean |
get(int index) |
boolean |
getFirst() |
boolean |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
indexOf(boolean value) |
<T> T |
injectInto(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super T,? extends T> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectBooleanIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(boolean value) |
com.gs.collections.api.list.primitive.MutableBooleanList |
reject(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
removeAtIndex(int index) |
com.gs.collections.api.list.primitive.MutableBooleanList |
reverseThis() |
com.gs.collections.api.list.primitive.MutableBooleanList |
select(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
set(int index,
boolean element) |
com.gs.collections.api.list.primitive.MutableBooleanList |
subList(int fromIndex,
int toIndex) |
com.gs.collections.api.list.primitive.ImmutableBooleanList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableBooleanList |
toReversed() |
SynchronizedBooleanList |
with(boolean element) |
SynchronizedBooleanList |
withAll(com.gs.collections.api.BooleanIterable elements) |
SynchronizedBooleanList |
without(boolean element) |
SynchronizedBooleanList |
withoutAll(com.gs.collections.api.BooleanIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, booleanIterator, clear, contains, containsAll, containsAll, count, detectIfNone, forEach, getBooleanCollection, getLock, isEmpty, makeString, makeString, makeString, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toBag, toList, toSet, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAllpublic boolean get(int index)
get in interface com.gs.collections.api.list.primitive.BooleanListpublic boolean getFirst()
getFirst in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic boolean getLast()
getLast in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic int indexOf(boolean value)
indexOf in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic int lastIndexOf(boolean value)
lastIndexOf in interface com.gs.collections.api.list.primitive.BooleanListpublic void addAtIndex(int index,
boolean element)
addAtIndex in interface com.gs.collections.api.list.primitive.MutableBooleanListpublic boolean addAllAtIndex(int index,
boolean... source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableBooleanListpublic boolean addAllAtIndex(int index,
com.gs.collections.api.BooleanIterable source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableBooleanListpublic boolean removeAtIndex(int index)
removeAtIndex in interface com.gs.collections.api.list.primitive.MutableBooleanListpublic boolean set(int index,
boolean element)
set in interface com.gs.collections.api.list.primitive.MutableBooleanListpublic SynchronizedBooleanList with(boolean element)
with in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionwith in interface com.gs.collections.api.list.primitive.MutableBooleanListwith in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanList without(boolean element)
without in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionwithout in interface com.gs.collections.api.list.primitive.MutableBooleanListwithout in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanList withAll(com.gs.collections.api.BooleanIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionwithAll in interface com.gs.collections.api.list.primitive.MutableBooleanListwithAll in class AbstractSynchronizedBooleanCollectionpublic SynchronizedBooleanList withoutAll(com.gs.collections.api.BooleanIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionwithoutAll in interface com.gs.collections.api.list.primitive.MutableBooleanListwithoutAll in class AbstractSynchronizedBooleanCollectionpublic com.gs.collections.api.list.primitive.MutableBooleanList select(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface com.gs.collections.api.BooleanIterableselect in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionselect in interface com.gs.collections.api.list.primitive.BooleanListselect in interface com.gs.collections.api.list.primitive.MutableBooleanListselect in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterableselect in class AbstractSynchronizedBooleanCollectionpublic com.gs.collections.api.list.primitive.MutableBooleanList reject(com.gs.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface com.gs.collections.api.BooleanIterablereject in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionreject in interface com.gs.collections.api.list.primitive.BooleanListreject in interface com.gs.collections.api.list.primitive.MutableBooleanListreject in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablereject in class AbstractSynchronizedBooleanCollectionpublic <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.BooleanIterablecollect in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectioncollect in interface com.gs.collections.api.list.primitive.BooleanListcollect in interface com.gs.collections.api.list.primitive.MutableBooleanListcollect in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablecollect in class AbstractSynchronizedBooleanCollectionpublic boolean equals(java.lang.Object otherList)
com.gs.collections.api.list.primitive.BooleanListList.equals(Object).equals in interface com.gs.collections.api.list.primitive.BooleanListequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.list.primitive.BooleanListList.hashCode().hashCode in interface com.gs.collections.api.list.primitive.BooleanListhashCode in class java.lang.Objectpublic com.gs.collections.api.LazyBooleanIterable asLazy()
asLazy in interface com.gs.collections.api.BooleanIterableasLazy in class AbstractSynchronizedBooleanCollectionpublic com.gs.collections.api.list.primitive.MutableBooleanList asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionasUnmodifiable in interface com.gs.collections.api.list.primitive.MutableBooleanListasUnmodifiable in class AbstractSynchronizedBooleanCollectionpublic com.gs.collections.api.list.primitive.MutableBooleanList asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectionasSynchronized in interface com.gs.collections.api.list.primitive.MutableBooleanListasSynchronized in class AbstractSynchronizedBooleanCollectionpublic com.gs.collections.api.list.primitive.ImmutableBooleanList toImmutable()
com.gs.collections.api.list.primitive.MutableBooleanListtoImmutable in interface com.gs.collections.api.collection.primitive.MutableBooleanCollectiontoImmutable in interface com.gs.collections.api.list.primitive.BooleanListtoImmutable in interface com.gs.collections.api.list.primitive.MutableBooleanListtoImmutable in class AbstractSynchronizedBooleanCollectionpublic com.gs.collections.api.list.primitive.MutableBooleanList reverseThis()
reverseThis in interface com.gs.collections.api.list.primitive.MutableBooleanListpublic com.gs.collections.api.list.primitive.MutableBooleanList toReversed()
toReversed in interface com.gs.collections.api.list.primitive.BooleanListtoReversed in interface com.gs.collections.api.list.primitive.MutableBooleanListtoReversed in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic com.gs.collections.api.LazyBooleanIterable asReversed()
asReversed in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.BooleanIntProcedure procedure)
forEachWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic <T> T injectInto(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super T,? extends T> function)
injectInto in interface com.gs.collections.api.BooleanIterableinjectInto in class AbstractSynchronizedBooleanCollectionpublic <T> T injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectBooleanIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleBooleanIterablepublic com.gs.collections.api.list.primitive.MutableBooleanList subList(int fromIndex,
int toIndex)
subList in interface com.gs.collections.api.list.primitive.BooleanListsubList in interface com.gs.collections.api.list.primitive.MutableBooleanListList#subList(int fromIndex, int toIndex)}