public interface ImmutableBooleanList extends ImmutableBooleanCollection, BooleanList
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<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.
|
default <V> ImmutableList<V> |
collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableBooleanList |
distinct() |
ImmutableBooleanList |
newWith(boolean element) |
ImmutableBooleanList |
newWithAll(BooleanIterable elements) |
ImmutableBooleanList |
newWithout(boolean element) |
ImmutableBooleanList |
newWithoutAll(BooleanIterable elements) |
ImmutableBooleanList |
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
default ImmutableBooleanList |
rejectWithIndex(BooleanIntPredicate predicate)
Returns a new ImmutableBooleanList excluding all elements with corresponding indexes matching the specified predicate.
|
ImmutableBooleanList |
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
default ImmutableBooleanList |
selectWithIndex(BooleanIntPredicate predicate)
Returns a new ImmutableBooleanList including all elements with corresponding indexes matching the specified predicate.
|
ImmutableBooleanList |
subList(int fromIndex,
int toIndex) |
default ImmutableBooleanList |
tap(BooleanProcedure procedure) |
ImmutableBooleanList |
toReversed() |
default <T> ImmutableList<BooleanObjectPair<T>> |
zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableBooleanList and a ListIterable by
combining corresponding elements in pairs. |
default ImmutableList<BooleanBooleanPair> |
zipBoolean(BooleanIterable iterable)
Returns an
ImmutableList formed from this ImmutableBooleanList and another BooleanList by
combining corresponding elements in pairs. |
equals, forEachInBoth, get, hashCode, lastIndexOf, toImmutableasReversed, getLast, injectIntoWithIndexcollectWithIndex, forEachWithIndex, getFirst, indexOf, rejectWithIndex, selectWithIndexallSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableBooleanList select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableselect in interface BooleanListselect in interface ImmutableBooleanCollectionselect in interface OrderedBooleanIterableselect in interface ReversibleBooleanIterableImmutableBooleanList reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterablereject in interface BooleanListreject in interface ImmutableBooleanCollectionreject in interface OrderedBooleanIterablereject in interface ReversibleBooleanIterabledefault ImmutableBooleanList tap(BooleanProcedure procedure)
tap in interface BooleanIterabletap in interface BooleanListtap in interface ImmutableBooleanCollectiondefault ImmutableBooleanList selectWithIndex(BooleanIntPredicate predicate)
selectWithIndex in interface BooleanListselectWithIndex in interface OrderedBooleanIterableselectWithIndex in interface ReversibleBooleanIterabledefault ImmutableBooleanList rejectWithIndex(BooleanIntPredicate predicate)
rejectWithIndex in interface BooleanListrejectWithIndex in interface OrderedBooleanIterablerejectWithIndex in interface ReversibleBooleanIterable<V> ImmutableList<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterablecollect in interface BooleanListcollect in interface ImmutableBooleanCollectioncollect in interface OrderedBooleanIterablecollect in interface ReversibleBooleanIterabledefault <V> ImmutableList<V> collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
collectWithIndex in interface BooleanListcollectWithIndex in interface OrderedBooleanIterablecollectWithIndex in interface ReversibleBooleanIterableImmutableBooleanList newWith(boolean element)
newWith in interface ImmutableBooleanCollectionImmutableBooleanList newWithout(boolean element)
newWithout in interface ImmutableBooleanCollectionImmutableBooleanList newWithAll(BooleanIterable elements)
newWithAll in interface ImmutableBooleanCollectionImmutableBooleanList newWithoutAll(BooleanIterable elements)
newWithoutAll in interface ImmutableBooleanCollectionImmutableBooleanList toReversed()
toReversed in interface BooleanListtoReversed in interface ReversibleBooleanIterableImmutableBooleanList distinct()
distinct in interface BooleanListdistinct in interface ReversibleBooleanIterableImmutableBooleanList subList(int fromIndex, int toIndex)
subList in interface BooleanListList.subList(int fromIndex, int toIndex)default ImmutableList<BooleanBooleanPair> zipBoolean(BooleanIterable iterable)
ImmutableList formed from this ImmutableBooleanList 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 BooleanListdefault <T> ImmutableList<BooleanObjectPair<T>> zip(Iterable<T> iterable)
ImmutableList formed from this ImmutableBooleanList 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 BooleanListCopyright © 2004–2022. All rights reserved.