BooleanIterable, OrderedBooleanIterable, PrimitiveIterable, ReversibleBooleanIterableImmutableBooleanList, MutableBooleanListBooleanArrayList, SynchronizedBooleanList, UnmodifiableBooleanListpublic interface BooleanList extends ReversibleBooleanIterable
| Modifier and Type | Method | Description |
|---|---|---|
<V> ListIterable<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.
|
BooleanList |
distinct() |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
List.equals(Object). |
boolean |
get(int index) |
|
int |
hashCode() |
Follows the same general contract as
List.hashCode(). |
int |
lastIndexOf(boolean value) |
|
BooleanList |
reject(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
BooleanList |
select(BooleanPredicate predicate) |
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
BooleanList |
subList(int fromIndex,
int toIndex) |
|
default BooleanList |
tap(BooleanProcedure procedure) |
|
ImmutableBooleanList |
toImmutable() |
Returns an immutable copy of this list.
|
BooleanList |
toReversed() |
allSatisfy, anySatisfy, asLazy, booleanIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reject, select, toArray, toBag, toList, toSetforEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexboolean get(int index)
int lastIndexOf(boolean value)
BooleanList select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableselect in interface OrderedBooleanIterableselect in interface ReversibleBooleanIterableBooleanList reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterablereject in interface OrderedBooleanIterablereject in interface ReversibleBooleanIterabledefault BooleanList tap(BooleanProcedure procedure)
tap in interface BooleanIterable<V> ListIterable<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterablecollect in interface OrderedBooleanIterablecollect in interface ReversibleBooleanIterableboolean equals(java.lang.Object o)
List.equals(Object).equals in class java.lang.Objectint hashCode()
List.hashCode().hashCode in class java.lang.ObjectImmutableBooleanList toImmutable()
BooleanList distinct()
distinct in interface ReversibleBooleanIterableBooleanList toReversed()
toReversed in interface ReversibleBooleanIterableBooleanList subList(int fromIndex, int toIndex)
List.subList(int fromIndex, int toIndex)Copyright © 2004–2017. All rights reserved.