androidx.core.util


Interfaces

Consumer

Compat version of java.util.function.Consumer

Function

Compat version of java.util.function.Function

Pools.Pool

Interface for managing a pool of objects.

Predicate

Compat version of java.util.function.Predicate

Supplier

Compat version of java.util.function.Supplier

Classes

AndroidXConsumerKt
AtomicFile

Static library support version of the framework's android.util.AtomicFile, a helper class for performing atomic operations on a file by writing to a new file and renaming it into the place of the original file after the write has successfully completed.

AtomicFileKt
ConsumerKt
HalfKt
LongSparseArrayKt
LruCacheKt
ObjectsCompat

This class consists of static utility methods for operating on objects.

Pair

Container to ease passing around a tuple of two objects.

PairKt
PatternsCompat

Commonly used regular expression patterns.

Pools

Helper class for creating pools of objects.

Pools.SimplePool

Simple (non-synchronized) pool of objects.

Pools.SynchronizedPool

Synchronized pool of objects.

RangeKt
RunnableKt
SizeFCompat

Immutable class for describing width and height dimensions in some arbitrary unit.

SizeKt
SparseArrayKt
SparseBooleanArrayKt
SparseIntArrayKt
SparseLongArrayKt
TypedValueCompat

Container for a dynamically typed data value.