public interface BooleanList extends ReversibleBooleanIterable
Modifier and Type | Method and 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(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) |
ImmutableBooleanList |
toImmutable()
Returns an immutable copy of this list.
|
BooleanList |
toReversed() |
asReversed, getLast, injectIntoWithIndex
forEachWithIndex, getFirst, indexOf
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, toSet
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
boolean get(int index)
int lastIndexOf(boolean value)
BooleanList select(BooleanPredicate predicate)
BooleanIterable
select
in interface BooleanIterable
select
in interface OrderedBooleanIterable
select
in interface ReversibleBooleanIterable
BooleanList reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
reject
in interface OrderedBooleanIterable
reject
in interface ReversibleBooleanIterable
<V> ListIterable<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
collect
in interface OrderedBooleanIterable
collect
in interface ReversibleBooleanIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableBooleanList toImmutable()
BooleanList distinct()
distinct
in interface ReversibleBooleanIterable
BooleanList toReversed()
toReversed
in interface ReversibleBooleanIterable
BooleanList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2017. All rights reserved.