Skip to content

Most visited

Recently visited

navigation
added in version 22.1.0

android.support.v4.util

Support android.util classes to assist with development of applications for android API level 4 or later.

Interfaces

Pools.Pool<T> Interface for managing a pool of objects. 

Classes

ArrayMap<K, V> ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional HashMap, this implementation is a version of the platform's ArrayMap that can be used on older versions of the platform. 
ArraySet<E> ArraySet is a generic set data structure that is designed to be more memory efficient than a traditional HashSet
AtomicFile Static library support version of the framework's AtomicFile, a helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed. 
CircularArray<E> CircularArray is a generic circular array data structure that provides O(1) random read, O(1) prepend and O(1) append. 
CircularIntArray CircularIntArray is a circular integer array data structure that provides O(1) random read, O(1) prepend and O(1) append. 
LongSparseArray<E> SparseArray mapping longs to Objects, a version of the platform's LongSparseArray that can be used on older versions of the platform. 
LruCache<K, V> Static library version of LruCache
ObjectsCompat This class consists of static utility methods for operating on objects. 
Pair<F, S> Container to ease passing around a tuple of two objects. 
PatternsCompat Commonly used regular expression patterns. 
Pools Helper class for creating pools of objects. 
Pools.SimplePool<T> Simple (non-synchronized) pool of objects. 
Pools.SynchronizedPool<T> Synchronized) pool of objects. 
SimpleArrayMap<K, V> Base implementation of ArrayMap that doesn't include any standard Java container API interoperability. 
SparseArrayCompat<E> A copy of the current platform (currently KITKAT version of SparseArray; provides a removeAt() method and other things. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)