BooleanIterable, MutableBooleanCollection, BooleanList, MutableBooleanList, OrderedBooleanIterable, ReversibleBooleanIterable, PrimitiveIterablepublic class UnmodifiableBooleanList extends AbstractUnmodifiableBooleanCollection implements MutableBooleanList
| Constructor | Description | 
|---|---|
| UnmodifiableBooleanList(MutableBooleanList list) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | addAllAtIndex(int index,
             boolean... source) | |
| boolean | addAllAtIndex(int index,
             BooleanIterable source) | |
| void | addAtIndex(int index,
          boolean element) | |
| LazyBooleanIterable | asReversed() | |
| MutableBooleanList | asSynchronized() | |
| MutableBooleanList | asUnmodifiable() | |
| <V> MutableList<V> | collect(BooleanToObjectFunction<? extends V> function) | Returns a new collection with the results of applying the specified function on each element of the source
 collection. | 
| <V> MutableList<V> | collectWithIndex(BooleanIntToObjectFunction<? extends V> function) | Returns a new MutableList using results obtained by applying the specified function to each element
 and its corresponding index. | 
| <V,R extends java.util.Collection<V>> | collectWithIndex(BooleanIntToObjectFunction<? extends V> function,
                R target) | Adds elements to the target Collection using results obtained by applying the specified function to each element
 and its corresponding index. | 
| MutableBooleanList | distinct() | |
| boolean | equals(java.lang.Object otherList) | Follows the same general contract as  List.equals(Object). | 
| void | forEachWithIndex(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 | injectIntoWithIndex(T injectedValue,
                   ObjectBooleanIntToObjectFunction<? super T,? extends T> function) | |
| int | lastIndexOf(boolean value) | |
| MutableBooleanList | newEmpty() | Creates a new empty mutable version of the same List type. | 
| MutableBooleanList | reject(BooleanPredicate predicate) | Returns a new BooleanIterable with all of the elements in the BooleanIterable that
 return false for the specified predicate. | 
| boolean | removeAtIndex(int index) | |
| MutableBooleanList | reverseThis() | |
| MutableBooleanList | select(BooleanPredicate predicate) | Returns a new BooleanIterable with all of the elements in the BooleanIterable that
 return true for the specified predicate. | 
| boolean | set(int index,
   boolean element) | |
| MutableBooleanList | subList(int fromIndex,
       int toIndex) | |
| ImmutableBooleanList | toImmutable() | Returns an immutable copy of this list. | 
| MutableBooleanList | toReversed() | |
| UnmodifiableBooleanList | with(boolean element) | |
| UnmodifiableBooleanList | withAll(BooleanIterable elements) | |
| UnmodifiableBooleanList | without(boolean element) | |
| UnmodifiableBooleanList | withoutAll(BooleanIterable elements) | |
| <T> MutableList<BooleanObjectPair<T>> | zip(java.lang.Iterable<T> iterable) | Returns a  MutableListformed from thisMutableBooleanListand aListIterableby
 combining corresponding elements in pairs. | 
| MutableList<BooleanBooleanPair> | zipBoolean(BooleanIterable iterable) | Returns a  MutableListformed from thisMutableBooleanListand anotherBooleanListby
 combining corresponding elements in pairs. | 
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, booleanIterator, chunk, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, noneSatisfy, notEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, toArray, toBag, toList, toSet, toStringallSatisfy, anySatisfy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reject, select, toArray, toBag, toList, toSetadd, addAll, addAll, booleanIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAlltapappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic UnmodifiableBooleanList(MutableBooleanList list)
public boolean get(int index)
get in interface BooleanListpublic boolean getFirst()
getFirst in interface OrderedBooleanIterablepublic boolean getLast()
getLast in interface ReversibleBooleanIterablepublic int indexOf(boolean value)
indexOf in interface OrderedBooleanIterablepublic int lastIndexOf(boolean value)
lastIndexOf in interface BooleanListpublic void addAtIndex(int index,
                       boolean element)
addAtIndex in interface MutableBooleanListpublic boolean addAllAtIndex(int index,
                             boolean... source)
addAllAtIndex in interface MutableBooleanListpublic boolean addAllAtIndex(int index,
                             BooleanIterable source)
addAllAtIndex in interface MutableBooleanListpublic boolean removeAtIndex(int index)
removeAtIndex in interface MutableBooleanListpublic boolean set(int index,
                   boolean element)
set in interface MutableBooleanListpublic UnmodifiableBooleanList with(boolean element)
with in interface MutableBooleanCollectionwith in interface MutableBooleanListwith in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanList without(boolean element)
without in interface MutableBooleanCollectionwithout in interface MutableBooleanListwithout in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanList withAll(BooleanIterable elements)
withAll in interface MutableBooleanCollectionwithAll in interface MutableBooleanListwithAll in class AbstractUnmodifiableBooleanCollectionpublic UnmodifiableBooleanList withoutAll(BooleanIterable elements)
withoutAll in interface MutableBooleanCollectionwithoutAll in interface MutableBooleanListwithoutAll in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanList select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableselect in interface BooleanListselect in interface MutableBooleanCollectionselect in interface MutableBooleanListselect in interface OrderedBooleanIterableselect in interface ReversibleBooleanIterableselect in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanList reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterablereject in interface BooleanListreject in interface MutableBooleanCollectionreject in interface MutableBooleanListreject in interface OrderedBooleanIterablereject in interface ReversibleBooleanIterablereject in class AbstractUnmodifiableBooleanCollectionpublic <V> MutableList<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterablecollect in interface BooleanListcollect in interface MutableBooleanCollectioncollect in interface MutableBooleanListcollect in interface OrderedBooleanIterablecollect in interface ReversibleBooleanIterablecollect in class AbstractUnmodifiableBooleanCollectionpublic boolean equals(java.lang.Object otherList)
BooleanListList.equals(Object).equals in interface BooleanListequals in class java.lang.Objectpublic int hashCode()
BooleanListList.hashCode().hashCode in interface BooleanListhashCode in class java.lang.Objectpublic MutableBooleanList asUnmodifiable()
asUnmodifiable in interface MutableBooleanCollectionasUnmodifiable in interface MutableBooleanListasUnmodifiable in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanList asSynchronized()
asSynchronized in interface MutableBooleanCollectionasSynchronized in interface MutableBooleanListasSynchronized in class AbstractUnmodifiableBooleanCollectionpublic ImmutableBooleanList toImmutable()
MutableBooleanListtoImmutable in interface BooleanListtoImmutable in interface MutableBooleanCollectiontoImmutable in interface MutableBooleanListtoImmutable in class AbstractUnmodifiableBooleanCollectionpublic MutableBooleanList newEmpty()
MutableBooleanListnewEmpty in interface MutableBooleanCollectionnewEmpty in interface MutableBooleanListpublic MutableBooleanList reverseThis()
reverseThis in interface MutableBooleanListpublic MutableBooleanList toReversed()
toReversed in interface BooleanListtoReversed in interface MutableBooleanListtoReversed in interface ReversibleBooleanIterablepublic void forEachWithIndex(BooleanIntProcedure procedure)
forEachWithIndex in interface OrderedBooleanIterablepublic LazyBooleanIterable asReversed()
asReversed in interface ReversibleBooleanIterablepublic <T> T injectIntoWithIndex(T injectedValue,
                                 ObjectBooleanIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedBooleanIterableinjectIntoWithIndex in interface ReversibleBooleanIterablepublic MutableBooleanList distinct()
distinct in interface BooleanListdistinct in interface MutableBooleanListdistinct in interface ReversibleBooleanIterablepublic MutableBooleanList subList(int fromIndex, int toIndex)
subList in interface BooleanListsubList in interface MutableBooleanListList.subList(int fromIndex, int toIndex)public MutableList<BooleanBooleanPair> zipBoolean(BooleanIterable iterable)
MutableBooleanListMutableList formed from this MutableBooleanList and another BooleanList by
 combining corresponding elements in pairs. If one of the two BooleanLists is longer than the other, its
 remaining elements are ignored.zipBoolean in interface BooleanListzipBoolean in interface MutableBooleanListpublic <T> MutableList<BooleanObjectPair<T>> zip(java.lang.Iterable<T> iterable)
MutableBooleanListMutableList formed from this MutableBooleanList and a ListIterable by
 combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
 remaining elements are ignored.zip in interface BooleanListzip in interface MutableBooleanListpublic <V> MutableList<V> collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
collectWithIndex in interface BooleanListcollectWithIndex in interface MutableBooleanListcollectWithIndex in interface OrderedBooleanIterablecollectWithIndex in interface ReversibleBooleanIterablepublic <V,R extends java.util.Collection<V>> R collectWithIndex(BooleanIntToObjectFunction<? extends V> function, R target)
collectWithIndex in interface OrderedBooleanIterableCopyright © 2004–2018. All rights reserved.