Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
java.util.regex |
Classes for matching character sequences against patterns specified by regular
expressions.
|
java.util.stream |
java.util.stream
|
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayList.removeIf(Predicate<? super E> filter) |
default boolean |
Collection.removeIf(Predicate<? super E> filter)
Removes all of the elements of this collection that satisfy the given
predicate.
|
boolean |
Vector.removeIf(Predicate<? super E> filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
CopyOnWriteArrayList.removeIf(Predicate<? super E> filter) |
Modifier and Type | Method and Description |
---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> p)
Returns a predicate which evaluates to
true only if this
predicate and the provided predicate both evaluate to true . |
default Predicate<T> |
Predicate.negate()
Returns a predicate which negates the result of this predicate.
|
default Predicate<T> |
Predicate.or(Predicate<? super T> p)
Returns a predicate which evaluates to
true if either this
predicate or the provided predicate evaluates to true . |
default Predicate<T> |
Predicate.xor(Predicate<? super T> p)
Returns a predicate that evaluates to
true if both or neither of
the component predicates evaluate to true . |
Modifier and Type | Method and Description |
---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> p)
Returns a predicate which evaluates to
true only if this
predicate and the provided predicate both evaluate to true . |
default Predicate<T> |
Predicate.or(Predicate<? super T> p)
Returns a predicate which evaluates to
true if either this
predicate or the provided predicate evaluates to true . |
default Predicate<T> |
Predicate.xor(Predicate<? super T> p)
Returns a predicate that evaluates to
true if both or neither of
the component predicates evaluate to true . |
Modifier and Type | Method and Description |
---|---|
Predicate<String> |
Pattern.asPredicate()
Creates a predicate which can be used to match a string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DelegatingStream.allMatch(Predicate<? super T> predicate) |
boolean |
Stream.allMatch(Predicate<? super T> predicate)
Returns whether all elements of this stream match the provided predicate.
|
boolean |
DelegatingStream.anyMatch(Predicate<? super T> predicate) |
boolean |
Stream.anyMatch(Predicate<? super T> predicate)
Returns whether any elements of this stream match the provided
predicate.
|
Stream<T> |
DelegatingStream.filter(Predicate<? super T> predicate) |
Stream<T> |
Stream.filter(Predicate<? super T> predicate)
Returns a stream consisting of the elements of this stream that match
the given predicate.
|
boolean |
DelegatingStream.noneMatch(Predicate<? super T> predicate) |
boolean |
Stream.noneMatch(Predicate<? super T> predicate)
Returns whether no elements of this stream match the provided predicate.
|
static <T> Collector<T,Map<Boolean,List<T>>> |
Collectors.partitioningBy(Predicate<? super T> predicate)
Returns a
Collector which partitions the input elements according
to a Predicate , and organizes them into a
Map<Boolean, List<T>> . |
static <T,D> Collector<T,Map<Boolean,D>> |
Collectors.partitioningBy(Predicate<? super T> predicate,
Collector<? super T,D> downstream)
Returns a
Collector which partitions the input elements according
to a Predicate , reduces the values in each partition according to
another Collector , and organizes them into a
Map<Boolean, D> whose values are the result of the downstream
reduction. |
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92