- acquire() - Method in interface android.support.v4.util.Pools.Pool
-
- acquire() - Method in class android.support.v4.util.Pools.SimplePool
-
- acquire() - Method in class android.support.v4.util.Pools.SynchronizedPool
-
- addFirst(E) - Method in class android.support.v4.util.CircularArray
-
Add an element in front of the CircularArray.
- addFirst(int) - Method in class android.support.v4.util.CircularIntArray
-
Add an integer in front of the CircularIntArray.
- addLast(E) - Method in class android.support.v4.util.CircularArray
-
Add an element at end of the CircularArray.
- addLast(int) - Method in class android.support.v4.util.CircularIntArray
-
Add an integer at end of the CircularIntArray.
- android.support.v4.util - package android.support.v4.util
-
- android.util - package android.util
-
- append(long, E) - Method in class android.support.v4.util.LongSparseArray
-
Puts a key/value pair into the array, optimizing for the case where
the key is greater than all existing keys in the array.
- append(int, E) - Method in class android.support.v4.util.SparseArrayCompat
-
Puts a key/value pair into the array, optimizing for the case where
the key is greater than all existing keys in the array.
- ArrayMap<K,V> - Class in android.support.v4.util
-
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
{android.util.ArrayMap} that can be used on older versions of the platform.
- ArrayMap() - Constructor for class android.support.v4.util.ArrayMap
-
- ArrayMap(int) - Constructor for class android.support.v4.util.ArrayMap
-
Create a new ArrayMap with a given initial capacity.
- ArrayMap(SimpleArrayMap) - Constructor for class android.support.v4.util.ArrayMap
-
Create a new ArrayMap with the mappings from the given ArrayMap.
- AtomicFile - Class in android.support.v4.util
-
Static library support version of the framework's {android.util.AtomicFile},
a helper class for performing atomic operations on a file by creating a
backup file until a write has successfully completed.
- AtomicFile(File) - Constructor for class android.support.v4.util.AtomicFile
-
Create a new AtomicFile for a file located at the given File path.
- CircularArray<E> - Class in android.support.v4.util
-
CircularArray is a generic circular array data structure that provides O(1) random read, O(1)
prepend and O(1) append.
- CircularArray() - Constructor for class android.support.v4.util.CircularArray
-
Create a CircularArray with default capacity.
- CircularArray(int) - Constructor for class android.support.v4.util.CircularArray
-
Create a CircularArray with capacity for at least minCapacity elements.
- CircularIntArray - Class in android.support.v4.util
-
CircularIntArray is a circular integer array data structure that provides O(1) random read, O(1)
prepend and O(1) append.
- CircularIntArray() - Constructor for class android.support.v4.util.CircularIntArray
-
Create a CircularIntArray with default capacity.
- CircularIntArray(int) - Constructor for class android.support.v4.util.CircularIntArray
-
Create a CircularIntArray with capacity for at least minCapacity elements.
- clear() - Method in class android.support.v4.util.CircularArray
-
Remove all elements from the CircularArray.
- clear() - Method in class android.support.v4.util.CircularIntArray
-
Remove all integers from the CircularIntArray.
- clear() - Method in class android.support.v4.util.LongSparseArray
-
Removes all key-value mappings from this LongSparseArray.
- clear() - Method in class android.support.v4.util.SimpleArrayMap
-
Make the array map empty.
- clear() - Method in class android.support.v4.util.SparseArrayCompat
-
Removes all key-value mappings from this SparseArray.
- clone() - Method in class android.support.v4.util.LongSparseArray
-
- clone() - Method in class android.support.v4.util.SparseArrayCompat
-
- close() - Method in class android.support.v4.util.LogWriter
-
- containsAll(Collection<?>) - Method in class android.support.v4.util.ArrayMap
-
Determine if the array map contains all of the keys in the given collection.
- containsKey(Object) - Method in class android.support.v4.util.SimpleArrayMap
-
Check whether a key exists in the array.
- containsValue(Object) - Method in class android.support.v4.util.SimpleArrayMap
-
Check whether a value exists in the array.
- create(K) - Method in class android.support.v4.util.LruCache
-
Called after a cache miss to compute a value for the corresponding key.
- create(A, B) - Static method in class android.support.v4.util.Pair
-
Convenience method for creating an appropriately typed pair.
- createCount() - Method in class android.support.v4.util.LruCache
-
- get(int) - Method in class android.support.v4.util.CircularArray
-
Get nth (0 <= n <= size()-1) element of the CircularArray.
- get(int) - Method in class android.support.v4.util.CircularIntArray
-
Get nth (0 <= n <= size()-1) integer of the CircularIntArray.
- get(long) - Method in class android.support.v4.util.LongSparseArray
-
Gets the Object mapped from the specified key, or null
if no such mapping has been made.
- get(long, E) - Method in class android.support.v4.util.LongSparseArray
-
Gets the Object mapped from the specified key, or the specified Object
if no such mapping has been made.
- get(K) - Method in class android.support.v4.util.LruCache
-
Returns the value for key if it exists in the cache or can be
created by #create.
- get(Object) - Method in class android.support.v4.util.SimpleArrayMap
-
Retrieve a value from the array.
- get(int) - Method in class android.support.v4.util.SparseArrayCompat
-
Gets the Object mapped from the specified key, or null
if no such mapping has been made.
- get(int, E) - Method in class android.support.v4.util.SparseArrayCompat
-
Gets the Object mapped from the specified key, or the specified Object
if no such mapping has been made.
- getBaseFile() - Method in class android.support.v4.util.AtomicFile
-
Return the path to the base file.
- getFirst() - Method in class android.support.v4.util.CircularArray
-
Get first element of the CircularArray.
- getFirst() - Method in class android.support.v4.util.CircularIntArray
-
Get first integer of the CircularIntArray.
- getLast() - Method in class android.support.v4.util.CircularArray
-
Get last element of the CircularArray.
- getLast() - Method in class android.support.v4.util.CircularIntArray
-
Get last integer of the CircularIntArray.
- getStackTraceString(Throwable) - Static method in class android.util.Log
-
- Pair<F,S> - Class in android.support.v4.util
-
Container to ease passing around a tuple of two objects.
- Pair(F, S) - Constructor for class android.support.v4.util.Pair
-
Constructor for a Pair.
- Pools - Class in android.support.v4.util
-
Helper class for crating pools of objects.
- Pools.Pool<T> - Interface in android.support.v4.util
-
Interface for managing a pool of objects.
- Pools.SimplePool<T> - Class in android.support.v4.util
-
Simple (non-synchronized) pool of objects.
- Pools.SynchronizedPool<T> - Class in android.support.v4.util
-
Synchronized) pool of objects.
- popFirst() - Method in class android.support.v4.util.CircularArray
-
Remove first element from front of the CircularArray and return it.
- popFirst() - Method in class android.support.v4.util.CircularIntArray
-
Remove first integer from front of the CircularIntArray and return it.
- popLast() - Method in class android.support.v4.util.CircularArray
-
Remove last element from end of the CircularArray and return it.
- popLast() - Method in class android.support.v4.util.CircularIntArray
-
Remove last integer from end of the CircularIntArray and return it.
- put(long, E) - Method in class android.support.v4.util.LongSparseArray
-
Adds a mapping from the specified key to the specified value,
replacing the previous mapping from the specified key if there
was one.
- put(K, V) - Method in class android.support.v4.util.LruCache
-
Caches value for key.
- put(K, V) - Method in class android.support.v4.util.SimpleArrayMap
-
Add a new value to the array map.
- put(int, E) - Method in class android.support.v4.util.SparseArrayCompat
-
Adds a mapping from the specified key to the specified value,
replacing the previous mapping from the specified key if there
was one.
- putAll(Map<? extends K, ? extends V>) - Method in class android.support.v4.util.ArrayMap
-
- putAll(SimpleArrayMap<? extends K, ? extends V>) - Method in class android.support.v4.util.SimpleArrayMap
-
- putCount() - Method in class android.support.v4.util.LruCache
-
- readFully() - Method in class android.support.v4.util.AtomicFile
-
A convenience for
AtomicFile.openRead() that also reads all of the
file contents into a byte array which is returned.
- release(T) - Method in interface android.support.v4.util.Pools.Pool
-
Release an instance to the pool.
- release(T) - Method in class android.support.v4.util.Pools.SimplePool
-
- release(T) - Method in class android.support.v4.util.Pools.SynchronizedPool
-
- remove(long) - Method in class android.support.v4.util.LongSparseArray
-
- remove(K) - Method in class android.support.v4.util.LruCache
-
Removes the entry for key if it exists.
- remove(Object) - Method in class android.support.v4.util.SimpleArrayMap
-
Remove an existing key from the array map.
- remove(int) - Method in class android.support.v4.util.SparseArrayCompat
-
- removeAll(Collection<?>) - Method in class android.support.v4.util.ArrayMap
-
Remove all keys in the array map that exist in the given collection.
- removeAt(int) - Method in class android.support.v4.util.LongSparseArray
-
Removes the mapping at the specified index.
- removeAt(int) - Method in class android.support.v4.util.SimpleArrayMap
-
Remove the key/value mapping at the given index.
- removeAt(int) - Method in class android.support.v4.util.SparseArrayCompat
-
Removes the mapping at the specified index.
- removeAtRange(int, int) - Method in class android.support.v4.util.SparseArrayCompat
-
Remove a range of mappings as a batch.
- removeFromEnd(int) - Method in class android.support.v4.util.CircularArray
-
Remove multiple elements from end of the CircularArray, ignore when numOfElements
is less than or equals to 0.
- removeFromEnd(int) - Method in class android.support.v4.util.CircularIntArray
-
Remove multiple elements from end of the CircularIntArray, ignore when numOfElements
is less than or equals to 0.
- removeFromStart(int) - Method in class android.support.v4.util.CircularArray
-
Remove multiple elements from front of the CircularArray, ignore when numOfElements
is less than or equals to 0.
- removeFromStart(int) - Method in class android.support.v4.util.CircularIntArray
-
Remove multiple integers from front of the CircularIntArray, ignore when numOfElements
is less than or equals to 0.
- resize(int) - Method in class android.support.v4.util.LruCache
-
Sets the size of the cache.
- retainAll(Collection<?>) - Method in class android.support.v4.util.ArrayMap
-
Remove all keys in the array map that do not exist in the given collection.
- second - Variable in class android.support.v4.util.Pair
-
- setValueAt(int, E) - Method in class android.support.v4.util.LongSparseArray
-
Given an index in the range 0...size()-1, sets a new
value for the indexth key-value mapping that this
LongSparseArray stores.
- setValueAt(int, V) - Method in class android.support.v4.util.SimpleArrayMap
-
Set the value at a given index in the array.
- setValueAt(int, E) - Method in class android.support.v4.util.SparseArrayCompat
-
Given an index in the range 0...size()-1, sets a new
value for the indexth key-value mapping that this
SparseArray stores.
- SimpleArrayMap<K,V> - Class in android.support.v4.util
-
Base implementation of
ArrayMap that doesn't include any standard Java
container API interoperability.
- SimpleArrayMap() - Constructor for class android.support.v4.util.SimpleArrayMap
-
Create a new empty ArrayMap.
- SimpleArrayMap(int) - Constructor for class android.support.v4.util.SimpleArrayMap
-
Create a new ArrayMap with a given initial capacity.
- SimpleArrayMap(SimpleArrayMap) - Constructor for class android.support.v4.util.SimpleArrayMap
-
Create a new ArrayMap with the mappings from the given ArrayMap.
- SimplePool(int) - Constructor for class android.support.v4.util.Pools.SimplePool
-
Creates a new instance.
- size() - Method in class android.support.v4.util.CircularArray
-
Get number of elements in the CircularArray.
- size() - Method in class android.support.v4.util.CircularIntArray
-
Get number of integers in the CircularIntArray.
- size() - Method in class android.support.v4.util.LongSparseArray
-
Returns the number of key-value mappings that this LongSparseArray
currently stores.
- size() - Method in class android.support.v4.util.LruCache
-
- size() - Method in class android.support.v4.util.SimpleArrayMap
-
Return the number of items in this array map.
- size() - Method in class android.support.v4.util.SparseArrayCompat
-
Returns the number of key-value mappings that this SparseArray
currently stores.
- sizeOf(K, V) - Method in class android.support.v4.util.LruCache
-
Returns the size of the entry for key and value in
user-defined units.
- snapshot() - Method in class android.support.v4.util.LruCache
-
Returns a copy of the current contents of the cache, ordered from least
recently accessed to most recently accessed.
- SparseArrayCompat<E> - Class in android.support.v4.util
-
A copy of the current platform (currently { android.os.Build.VERSION_CODES#KITKAT}
version of { android.util.SparseArray}; provides a removeAt() method and other things.
- SparseArrayCompat() - Constructor for class android.support.v4.util.SparseArrayCompat
-
Creates a new SparseArray containing no mappings.
- SparseArrayCompat(int) - Constructor for class android.support.v4.util.SparseArrayCompat
-
Creates a new SparseArray containing no mappings that will not
require any additional memory allocation to store the specified
number of mappings.
- startWrite() - Method in class android.support.v4.util.AtomicFile
-
Start a new write operation on the file.
- SynchronizedPool(int) - Constructor for class android.support.v4.util.Pools.SynchronizedPool
-
Creates a new instance.