BooleanIterable
, BooleanList
, ImmutableBooleanCollection
, OrderedBooleanIterable
, PrimitiveIterable
, ReversibleBooleanIterable
public interface ImmutableBooleanList extends ImmutableBooleanCollection, BooleanList
Modifier and Type | Method | 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.
|
ImmutableBooleanList |
select(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for 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. |
allSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toBag, toList, toSet
equals, get, hashCode, lastIndexOf, toImmutable
collectWithIndex, forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
ImmutableBooleanList select(BooleanPredicate predicate)
BooleanIterable
select
in interface BooleanIterable
select
in interface BooleanList
select
in interface ImmutableBooleanCollection
select
in interface OrderedBooleanIterable
select
in interface ReversibleBooleanIterable
ImmutableBooleanList reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
reject
in interface BooleanList
reject
in interface ImmutableBooleanCollection
reject
in interface OrderedBooleanIterable
reject
in interface ReversibleBooleanIterable
default ImmutableBooleanList tap(BooleanProcedure procedure)
tap
in interface BooleanIterable
tap
in interface BooleanList
tap
in interface ImmutableBooleanCollection
<V> ImmutableList<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
collect
in interface BooleanList
collect
in interface ImmutableBooleanCollection
collect
in interface OrderedBooleanIterable
collect
in interface ReversibleBooleanIterable
default <V> ImmutableList<V> collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
collectWithIndex
in interface BooleanList
collectWithIndex
in interface OrderedBooleanIterable
collectWithIndex
in interface ReversibleBooleanIterable
ImmutableBooleanList newWith(boolean element)
newWith
in interface ImmutableBooleanCollection
ImmutableBooleanList newWithout(boolean element)
newWithout
in interface ImmutableBooleanCollection
ImmutableBooleanList newWithAll(BooleanIterable elements)
newWithAll
in interface ImmutableBooleanCollection
ImmutableBooleanList newWithoutAll(BooleanIterable elements)
newWithoutAll
in interface ImmutableBooleanCollection
ImmutableBooleanList toReversed()
toReversed
in interface BooleanList
toReversed
in interface ReversibleBooleanIterable
ImmutableBooleanList distinct()
distinct
in interface BooleanList
distinct
in interface ReversibleBooleanIterable
ImmutableBooleanList subList(int fromIndex, int toIndex)
subList
in interface BooleanList
List.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 BooleanList
s is longer than the other, its
remaining elements are ignored.zipBoolean
in interface BooleanList
default <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 BooleanList
Copyright © 2004–2019. All rights reserved.