Predicate
public
interface
Predicate
com.android.internal.util.Predicate<T> |
This interface was deprecated
in API level 26.
Use java.util.function.Predicate
instead.
This must not be used outside frameworks/base/test-runner.
A Predicate can determine a true or false value for any input of its
parameterized type. For example, a RegexPredicate
might implement
Predicate<String>
, and return true for any String that matches its
given regular expression.
Summary
Public methods | |
---|---|
abstract
boolean
|
apply(T t)
|
Public methods
Interfaces
- DumpUtils.Dump
- FileRotator.Reader
- FileRotator.Rewriter
- FileRotator.Writer
- FunctionalUtils.RemoteExceptionIgnoringConsumer
- FunctionalUtils.ThrowingConsumer
- FunctionalUtils.ThrowingRunnable
- FunctionalUtils.ThrowingSupplier
- Predicate
Classes
- ArrayUtils
- AsyncChannel
- AsyncService
- AsyncService.AsyncServiceInfo
- BitwiseInputStream
- BitwiseOutputStream
- CallbackRegistry
- CharSequences
- CollectionUtils
- DumpUtils
- ExponentiallyBucketedHistogram
- FastMath
- FastPrintWriter
- FastXmlSerializer
- FileRotator
- FunctionalUtils
- HexDump
- IndentingPrintWriter
- JournaledFile
- LatencyTracker
- LineBreakBufferedWriter
- MessageUtils
- MimeIconUtils
- NotificationMessagingUtil
- Preconditions
- ProcFileReader
- ScreenshotHelper
- SizedInputStream
- TypedProperties
- UserIcons
- VirtualRefBasePtr
Exceptions
- TypedProperties.ParseException
- TypedProperties.TypeException
Errors
- MessageUtils.DuplicateConstantError